1#ifndef YAZE_APP_EDITOR_ASSEMBLY_EDITOR_H
2#define YAZE_APP_EDITOR_ASSEMBLY_EDITOR_H
6#include "ImGuiColorTextEdit/TextEditor.h"
32 void Update(
bool &is_loaded);
37 absl::Status
Cut()
override;
38 absl::Status
Copy()
override;
39 absl::Status
Paste()
override;
41 absl::Status
Undo()
override;
42 absl::Status
Redo()
override;
43 absl::Status
Find()
override {
return absl::UnimplementedError(
"Find"); }
45 absl::Status
Update()
override;
47 void OpenFolder(
const std::string &folder_path);
Text editor for modifying assembly code.
absl::Status Paste() override
absl::Status Undo() override
void ChangeActiveFile(const std::string_view &filename)
absl::Status Redo() override
std::vector< TextEditor > open_files_
absl::Status Cut() override
absl::Status Find() override
void OpenFolder(const std::string &folder_path)
std::vector< std::string > files_
absl::Status Update() override
absl::Status Copy() override
std::string current_file_
ImVector< int > active_files_
core::FolderItem current_folder_
Interface for editor classes.
TextEditor::LanguageDefinition GetAssemblyLanguageDef()