Add a script editor keyboard shortcut to show the documentation tooltip for the word the caret is on
This commit is contained in:
parent
3c5e561024
commit
9af504bd28
4 changed files with 52 additions and 21 deletions
|
|
@ -115,6 +115,7 @@ class ScriptTextEditor : public CodeEditorBase {
|
|||
DEBUG_GOTO_NEXT_BREAKPOINT,
|
||||
DEBUG_GOTO_PREV_BREAKPOINT,
|
||||
|
||||
SHOW_TOOLTIP_AT_CARET,
|
||||
HELP_CONTEXTUAL,
|
||||
LOOKUP_SYMBOL,
|
||||
};
|
||||
|
|
@ -191,7 +192,7 @@ protected:
|
|||
void _lookup_symbol(const String &p_symbol, int p_row, int p_column);
|
||||
void _validate_symbol(const String &p_symbol);
|
||||
|
||||
void _show_symbol_tooltip(const String &p_symbol, int p_row, int p_column);
|
||||
void _show_symbol_tooltip(const String &p_symbol, int p_row, int p_column, bool p_shortcut = false);
|
||||
|
||||
Variant get_drag_data_fw(const Point2 &p_point, Control *p_from);
|
||||
bool can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue