aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/script_text_editor.h
diff options
context:
space:
mode:
authorIan2017-11-12 18:12:17 -0500
committerIan2017-11-17 21:49:43 -0500
commitd350f506a0fd764b5ce3045d4f88fdaa2dacabb4 (patch)
tree9291206370d6eaac10dafa9d0c97397de4acfefa /editor/plugins/script_text_editor.h
parent63283eca5542314ea5b71afa1fe39bd48c202a4d (diff)
downloadgodot-d350f506a0fd764b5ce3045d4f88fdaa2dacabb4.tar.gz
godot-d350f506a0fd764b5ce3045d4f88fdaa2dacabb4.tar.zst
godot-d350f506a0fd764b5ce3045d4f88fdaa2dacabb4.zip
Diffstat (limited to 'editor/plugins/script_text_editor.h')
-rw-r--r--editor/plugins/script_text_editor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.h b/editor/plugins/script_text_editor.h
index 83f3ea57c..8b353d417 100644
--- a/editor/plugins/script_text_editor.h
+++ b/editor/plugins/script_text_editor.h
@@ -91,6 +91,9 @@ class ScriptTextEditor : public ScriptEditorBase {
EDIT_TO_UPPERCASE,
EDIT_TO_LOWERCASE,
EDIT_CAPITALIZE,
+ EDIT_FOLD_LINE,
+ EDIT_UNFOLD_LINE,
+ EDIT_UNFOLD_ALL_LINES,
SEARCH_FIND,
SEARCH_FIND_NEXT,
SEARCH_FIND_PREV,
@@ -118,7 +121,7 @@ protected:
static void _bind_methods();
void _edit_option(int p_op);
- void _make_context_menu(bool p_selection, bool p_color);
+ void _make_context_menu(bool p_selection, bool p_color, int p_fold_state);
void _text_edit_gui_input(const Ref<InputEvent> &ev);
void _color_changed(const Color &p_color);