You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter
- Extacted all syntax highlighting code from text edit - Removed enable syntax highlighting from text edit - Added line_edited_from signal to text_edit - Renamed get/set_syntax_highlighting to get/set_syntax_highlighter - Added EditorSyntaxHighligher
This commit is contained in:
@@ -72,6 +72,7 @@ class VisualShaderEditor : public VBoxContainer {
|
||||
bool shader_error;
|
||||
VBoxContainer *preview_vbox;
|
||||
TextEdit *preview_text;
|
||||
Ref<CodeHighlighter> syntax_highlighter;
|
||||
Label *error_text;
|
||||
|
||||
UndoRedo *undo_redo;
|
||||
|
||||
Reference in New Issue
Block a user