mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 05:01:10 +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
|
|
@ -1928,6 +1928,9 @@ void ScriptEditor::edit(const Ref<Script>& p_script) {
|
|||
ste->set_edited_script(p_script);
|
||||
ste->get_text_edit()->set_tooltip_request_func(this,"_get_debug_tooltip",ste);
|
||||
ste->get_text_edit()->set_auto_brace_completion(EditorSettings::get_singleton()->get("text_editor/auto_brace_complete"));
|
||||
ste->get_text_edit()->set_callhint_settings(
|
||||
EditorSettings::get_singleton()->get("text_editor/put_callhint_tooltip_below_current_line"),
|
||||
EditorSettings::get_singleton()->get("text_editor/callhint_tooltip_offset"));
|
||||
tab_container->add_child(ste);
|
||||
_go_to_tab(tab_container->get_tab_count()-1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue