diff options
| author | Ian | 2017-11-12 18:12:17 -0500 |
|---|---|---|
| committer | Ian | 2017-11-17 21:49:43 -0500 |
| commit | d350f506a0fd764b5ce3045d4f88fdaa2dacabb4 (patch) | |
| tree | 9291206370d6eaac10dafa9d0c97397de4acfefa /editor/plugins/script_text_editor.h | |
| parent | 63283eca5542314ea5b71afa1fe39bd48c202a4d (diff) | |
| download | godot-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.h | 5 |
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); |
