diff options
| author | hsandt <hs@fuwar.in> | 2019-02-04 20:17:44 +0100 |
|---|---|---|
| committer | hsandt <hs@fuwar.in> | 2019-02-04 20:21:08 +0100 |
| commit | 5165a90ef6915f20178a4abb1f008f442f1f17c5 (patch) | |
| tree | 73691b2d9bdaa6e49a66030a2f199dd92b865da6 /editor/plugins/script_text_editor.h | |
| parent | 4f4e46edd539b0c26a6b086aa19c303b10de66b1 (diff) | |
| download | redot-engine-5165a90ef6915f20178a4abb1f008f442f1f17c5.tar.gz | |
[Script Editor] Refactored ScriptTextEditor::_edit_option by extracting EDIT_TOGGLE_COMMENT case
CodeEditor::toggle_inline_comment is now used by both ScriptTextEditor and ShaderEditor
Diffstat (limited to 'editor/plugins/script_text_editor.h')
| -rw-r--r-- | editor/plugins/script_text_editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.h b/editor/plugins/script_text_editor.h index 856e442d82..d9fba5e53d 100644 --- a/editor/plugins/script_text_editor.h +++ b/editor/plugins/script_text_editor.h @@ -136,6 +136,7 @@ protected: void _change_syntax_highlighter(int p_idx); void _edit_option(int p_op); + void _edit_option_toggle_inline_comment(); void _make_context_menu(bool p_selection, bool p_color, bool p_foldable, bool p_open_docs, bool p_goto_definition); void _text_edit_gui_input(const Ref<InputEvent> &ev); void _color_changed(const Color &p_color); |
