summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.h
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-05-21 05:07:48 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-05-24 13:17:09 -0300
commite12b482022b6b78fcc07b79ff3aec1007aa57c1a (patch)
treeb50b51144a74d1f784169d1475fe44686f054a5e /editor/plugins/script_text_editor.h
parentda617b7943abc5a042e690c7133097dc137b3970 (diff)
downloadredot-engine-e12b482022b6b78fcc07b79ff3aec1007aa57c1a.tar.gz
Improve bookmarks
Diffstat (limited to 'editor/plugins/script_text_editor.h')
-rw-r--r--editor/plugins/script_text_editor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/plugins/script_text_editor.h b/editor/plugins/script_text_editor.h
index bdfdf18d45..36a138f1e2 100644
--- a/editor/plugins/script_text_editor.h
+++ b/editor/plugins/script_text_editor.h
@@ -70,6 +70,7 @@ class ScriptTextEditor : public ScriptEditorBase {
MenuButton *edit_menu;
MenuButton *search_menu;
+ MenuButton *bookmarks_menu;
PopupMenu *highlighter_menu;
PopupMenu *context_menu;
@@ -144,8 +145,9 @@ protected:
static void _code_complete_scripts(void *p_ud, const String &p_code, List<String> *r_options, bool &r_force);
void _breakpoint_toggled(int p_row);
- //no longer virtual
- void _validate_script();
+ void _validate_script(); // No longer virtual.
+ void _update_bookmark_list();
+ void _bookmark_item_pressed(int p_idx);
void _code_complete_script(const String &p_code, List<String> *r_options, bool &r_force);
void _load_theme_settings();
void _set_theme_for_script();