aboutsummaryrefslogtreecommitdiff
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorIan2017-11-15 23:00:27 -0500
committerIan2017-11-18 20:07:53 -0500
commit1e59169d2d62edc25d5c046ff119cdd9bc991a18 (patch)
tree604b326daba869911903ed997b0a8bff36b45eea /editor/code_editor.cpp
parentd350f506a0fd764b5ce3045d4f88fdaa2dacabb4 (diff)
downloadgodot-1e59169d2d62edc25d5c046ff119cdd9bc991a18.tar.gz
godot-1e59169d2d62edc25d5c046ff119cdd9bc991a18.tar.zst
godot-1e59169d2d62edc25d5c046ff119cdd9bc991a18.zip
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index d43ec6d75..c7012a0c1 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -1098,6 +1098,7 @@ void CodeTextEditor::update_editor_settings() {
text_editor->cursor_set_blink_enabled(EditorSettings::get_singleton()->get("text_editor/cursor/caret_blink"));
text_editor->cursor_set_blink_speed(EditorSettings::get_singleton()->get("text_editor/cursor/caret_blink_speed"));
text_editor->set_draw_breakpoint_gutter(EditorSettings::get_singleton()->get("text_editor/line_numbers/show_breakpoint_gutter"));
+ 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->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"));