diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2019-08-11 19:31:19 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2019-08-21 23:48:46 +0100 |
commit | 0cea72273fdb9dea9c2b2c612bdb52af9287cfb3 (patch) | |
tree | 1587d22c7f138dd72807905f292f8e41241931cc /editor/code_editor.cpp | |
parent | 895a15b3218f820af6af714e1dde9f086deba0ca (diff) | |
download | redot-engine-0cea72273fdb9dea9c2b2c612bdb52af9287cfb3.tar.gz |
Add minimap to text_edit
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r-- | editor/code_editor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 33af5927b3..61adff7c9c 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -908,6 +908,8 @@ void CodeTextEditor::update_editor_settings() { text_editor->set_hiding_enabled(EditorSettings::get_singleton()->get("text_editor/line_numbers/code_folding")); text_editor->set_draw_fold_gutter(EditorSettings::get_singleton()->get("text_editor/line_numbers/code_folding")); text_editor->set_wrap_enabled(EditorSettings::get_singleton()->get("text_editor/line_numbers/word_wrap")); + text_editor->set_draw_minimap(EditorSettings::get_singleton()->get("text_editor/line_numbers/draw_minimap")); + text_editor->set_minimap_width(EditorSettings::get_singleton()->get("text_editor/line_numbers/minimap_width")); text_editor->set_draw_info_gutter(EditorSettings::get_singleton()->get("text_editor/line_numbers/show_info_gutter")); text_editor->cursor_set_block_mode(EditorSettings::get_singleton()->get("text_editor/cursor/block_caret")); text_editor->set_smooth_scroll_enabled(EditorSettings::get_singleton()->get("text_editor/open_scripts/smooth_scrolling")); |