You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add code region folding to CodeEdit
This commit is contained in:
@@ -98,6 +98,7 @@ class ScriptTextEditor : public ScriptEditorBase {
|
||||
Color safe_line_number_color = Color(1, 1, 1);
|
||||
|
||||
Color marked_line_color = Color(1, 1, 1);
|
||||
Color folded_code_region_color = Color(1, 1, 1);
|
||||
|
||||
PopupPanel *color_panel = nullptr;
|
||||
ColorPicker *color_picker = nullptr;
|
||||
@@ -133,6 +134,7 @@ class ScriptTextEditor : public ScriptEditorBase {
|
||||
EDIT_TOGGLE_WORD_WRAP,
|
||||
EDIT_TOGGLE_FOLD_LINE,
|
||||
EDIT_FOLD_ALL_LINES,
|
||||
EDIT_CREATE_CODE_REGION,
|
||||
EDIT_UNFOLD_ALL_LINES,
|
||||
SEARCH_FIND,
|
||||
SEARCH_FIND_NEXT,
|
||||
|
||||
Reference in New Issue
Block a user