mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Refactor toggling script list
This commit is contained in:
parent
f648de1a83
commit
b4c92dbd0e
7 changed files with 33 additions and 14 deletions
|
@ -2373,6 +2373,7 @@ void ScriptTextEditor::_enable_code_editor() {
|
|||
|
||||
ScriptTextEditor::ScriptTextEditor() {
|
||||
code_editor = memnew(CodeTextEditor);
|
||||
code_editor->set_toggle_list_control(ScriptEditor::get_singleton()->get_left_list_split());
|
||||
code_editor->add_theme_constant_override("separation", 2);
|
||||
code_editor->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
|
||||
code_editor->set_code_complete_func(_code_complete_scripts, this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue