diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-20 11:28:18 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-20 11:28:18 +0100 |
commit | 69b99730e0983c47faa7fadfc70cf7343906cd55 (patch) | |
tree | 3c2532fd2ccdd2ac0039f477f8ad43b08c421ce1 /scene | |
parent | 898bb2cd91fb293647dd96e00b12444da0c3e732 (diff) | |
parent | 9de731a9ec5ede1ec401c0acde902772ab700008 (diff) |
Merge pull request #73597 from MewPurPur/add-missing-queue-redraw--oh-wait-that-barely-narrows-it-down
Fix Indent/Unindent without a selection not causing a redraw
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/code_edit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/code_edit.cpp b/scene/gui/code_edit.cpp index e2f7ec860c..ee39327d4d 100644 --- a/scene/gui/code_edit.cpp +++ b/scene/gui/code_edit.cpp @@ -896,6 +896,7 @@ void CodeEdit::indent_lines() { set_caret_column(get_caret_column(c) + selection_offset, false, c); } end_complex_operation(); + queue_redraw(); } void CodeEdit::unindent_lines() { @@ -973,6 +974,7 @@ void CodeEdit::unindent_lines() { set_caret_column(initial_cursor_column - removed_characters, false, c); } end_complex_operation(); + queue_redraw(); } int CodeEdit::_calculate_spaces_till_next_left_indent(int p_column) const { |