aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/code_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-03-04 12:52:59 +0100
committerRémi Verschelde2016-03-04 12:52:59 +0100
commit3fc80f65cd26122fed771a149c2e583a8139e4ce (patch)
tree21bc90d19a76a920b66f561858a289b30a0fcbad /tools/editor/code_editor.cpp
parent5200ebd8fd3e72f26c28b46235838d1b8267b2b7 (diff)
parent47206b409d6802ac9ccbaedaa0daedc30b739e2f (diff)
downloadgodot-3fc80f65cd26122fed771a149c2e583a8139e4ce.tar.gz
godot-3fc80f65cd26122fed771a149c2e583a8139e4ce.tar.zst
godot-3fc80f65cd26122fed771a149c2e583a8139e4ce.zip
Merge pull request #3910 from chuckeles/completion-tooltip
Completion tooltip
Diffstat (limited to 'tools/editor/code_editor.cpp')
-rw-r--r--tools/editor/code_editor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/editor/code_editor.cpp b/tools/editor/code_editor.cpp
index fe863bfeb..f7d335fba 100644
--- a/tools/editor/code_editor.cpp
+++ b/tools/editor/code_editor.cpp
@@ -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() {