1#ifndef YAZE_APP_EDITOR_CODE_PROJECT_FILE_EDITOR_H_
2#define YAZE_APP_EDITOR_CODE_PROJECT_FILE_EDITOR_H_
6#include "absl/status/status.h"
bool IsTextChanged() const
Editor for .yaze project files with syntax highlighting and validation.
void ApplySyntaxHighlighting()
ToastManager * toast_manager_
bool * active()
Get pointer to active state for ImGui.
absl::Status SaveFileAs(const std::string &filepath)
Save to a new file path.
absl::Status LoadFile(const std::string &filepath)
Load a project file into the editor.
void SetProject(project::YazeProject *project)
Set the project pointer for label import operations.
void NewFile()
Create a new empty project file.
bool IsModified() const
Get whether the file has unsaved changes.
void set_active(bool active)
Set whether the editor window is active.
std::vector< std::string > validation_errors_
absl::Status SaveFile()
Save the current editor contents to disk.
absl::Status ImportLabelsFromZScream()
Import labels from a ZScream DefaultNames.txt file.
project::YazeProject * project_
void ShowValidationErrors()
void SetToastManager(ToastManager *toast_manager)
Set toast manager for notifications.
const std::string & filepath() const
Get the current filepath.
Modern project structure with comprehensive settings consolidation.