summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-07-29 12:31:20 -0300
committerGitHub <noreply@github.com>2018-07-29 12:31:20 -0300
commit0fcc28b6f370c478d1990af51070f9fbee531c20 (patch)
treed00c731ee1e6c762c53a04c6833b7c7f59cc8c58 /editor/plugins/script_text_editor.h
parentd2aaf460fbb5d743adae1ea079a24cdd834d659f (diff)
parent1bb13e95a89c57996d6d6d937e49a6329c03d940 (diff)
downloadredot-engine-0fcc28b6f370c478d1990af51070f9fbee531c20.tar.gz
Merge pull request #15269 from ianb96/context_menu_improvements
Context Menu Improvements
Diffstat (limited to 'editor/plugins/script_text_editor.h')
-rw-r--r--editor/plugins/script_text_editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.h b/editor/plugins/script_text_editor.h
index f0b00a9117..334d410dbe 100644
--- a/editor/plugins/script_text_editor.h
+++ b/editor/plugins/script_text_editor.h
@@ -112,6 +112,7 @@ class ScriptTextEditor : public ScriptEditorBase {
DEBUG_GOTO_NEXT_BREAKPOINT,
DEBUG_GOTO_PREV_BREAKPOINT,
HELP_CONTEXTUAL,
+ LOOKUP_SYMBOL,
};
protected:
@@ -131,7 +132,7 @@ protected:
void _change_syntax_highlighter(int p_idx);
void _edit_option(int p_op);
- void _make_context_menu(bool p_selection, bool p_color, bool p_can_fold, bool p_is_folded);
+ 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);