mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Add editor settings for call hint placement
Added settings: text_editor/put_callhint_tooltip_below_current_line and text_editor/callhint_tooltip_offset
This commit is contained in:
parent
26cc14e839
commit
47206b409d
4 changed files with 45 additions and 4 deletions
|
|
@ -568,6 +568,12 @@ void CodeTextEditor::_on_settings_change() {
|
|||
);
|
||||
|
||||
enable_complete_timer = EDITOR_DEF("text_editor/enable_code_completion_delay",true);
|
||||
|
||||
// call hint settings
|
||||
text_editor->set_callhint_settings(
|
||||
EDITOR_DEF("text_editor/put_callhint_tooltip_below_current_line", true),
|
||||
EDITOR_DEF("text_editor/callhint_tooltip_offset", Vector2())
|
||||
);
|
||||
}
|
||||
|
||||
void CodeTextEditor::_text_changed_idle_timeout() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue