mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Improve the editor native shader source visualizer
- Use CodeEdit to enable features such as line numbers and minimap. - Enable syntax highlighting. - Use a fixed-width font. - Use the script editor settings.
This commit is contained in:
parent
fe01776f05
commit
44de95e18f
3 changed files with 94 additions and 8 deletions
|
@ -1032,7 +1032,7 @@ void CodeTextEditor::update_editor_settings() {
|
|||
text_editor->set_v_scroll_speed(EDITOR_GET("text_editor/behavior/navigation/v_scroll_speed"));
|
||||
text_editor->set_drag_and_drop_selection_enabled(EDITOR_GET("text_editor/behavior/navigation/drag_and_drop_selection"));
|
||||
|
||||
// Behavior: indent
|
||||
// Behavior: Indent
|
||||
set_indent_using_spaces(EDITOR_GET("text_editor/behavior/indent/type"));
|
||||
text_editor->set_indent_size(EDITOR_GET("text_editor/behavior/indent/size"));
|
||||
text_editor->set_auto_indent_enabled(EDITOR_GET("text_editor/behavior/indent/auto_indent"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue