Implement Initialize method in Editor class and override in derived editors

This commit is contained in:
scawful
2025-03-08 00:31:30 -05:00
parent bc1701f490
commit 6714f77514
22 changed files with 69 additions and 50 deletions

View File

@@ -97,6 +97,10 @@ FolderItem LoadFolder(const std::string& folder) {
} // namespace
void AssemblyEditor::Initialize() {
// Set the language definition
}
void AssemblyEditor::OpenFolder(const std::string& folder_path) {
current_folder_ = LoadFolder(folder_path);
}

View File

@@ -33,6 +33,7 @@ class AssemblyEditor : public Editor {
file_is_loaded_ = false;
}
void Initialize() override;
void Update(bool &is_loaded);
void InlineUpdate();