diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-30 14:47:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 14:47:41 +0200 |
commit | ae349d82277e85ca348fd3da2ff4ad7c7033c8e6 (patch) | |
tree | 40f97716ca0c62026d859357ed2e58b3bec46d17 /editor/plugins/text_editor.cpp | |
parent | 733d04f72780eb474f6b52add57a635bba34530f (diff) | |
parent | e31bb5ffeb279f704cff1963c2650df7ad3ecdd6 (diff) |
Merge pull request #64377 from Mickeon/rename-canvas-redraw
Rename `CanvasItem.update()` to `queue_redraw()`
Diffstat (limited to 'editor/plugins/text_editor.cpp')
-rw-r--r-- | editor/plugins/text_editor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/text_editor.cpp b/editor/plugins/text_editor.cpp index 0900415b04..76332b2d10 100644 --- a/editor/plugins/text_editor.cpp +++ b/editor/plugins/text_editor.cpp @@ -339,15 +339,15 @@ void TextEditor::_edit_option(int p_op) { } break; case EDIT_TOGGLE_FOLD_LINE: { tx->toggle_foldable_line(tx->get_caret_line()); - tx->update(); + tx->queue_redraw(); } break; case EDIT_FOLD_ALL_LINES: { tx->fold_all_lines(); - tx->update(); + tx->queue_redraw(); } break; case EDIT_UNFOLD_ALL_LINES: { tx->unfold_all_lines(); - tx->update(); + tx->queue_redraw(); } break; case EDIT_TRIM_TRAILING_WHITESAPCE: { trim_trailing_whitespace(); |