diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2021-07-10 14:01:25 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2021-08-12 11:43:35 +0100 |
commit | a4606c2806c37d166dd57a87f70298d91a6d072b (patch) | |
tree | 778b2a69246c0b8d511e236422ffd61d758e285a /scene/gui/code_edit.cpp | |
parent | ae4dcb89182c44c923f8aac29855bebc701a237f (diff) | |
download | redot-engine-a4606c2806c37d166dd57a87f70298d91a6d072b.tar.gz |
Cleanup and complete TextEdit inspector and docs
Diffstat (limited to 'scene/gui/code_edit.cpp')
-rw-r--r-- | scene/gui/code_edit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/code_edit.cpp b/scene/gui/code_edit.cpp index 3104058d26..87b950746c 100644 --- a/scene/gui/code_edit.cpp +++ b/scene/gui/code_edit.cpp @@ -564,7 +564,7 @@ void CodeEdit::_handle_unicode_input(const uint32_t p_unicode) { delete_selection(); } - /* Remove the old character if in insert mode and no selection. */ + // Remove the old character if in overtype mode and no selection. if (is_overtype_mode_enabled() && !had_selection) { begin_complex_operation(); @@ -651,8 +651,8 @@ void CodeEdit::_backspace() { } } - /* For space indentation we need to do a simple unindent if there are no chars to the left, acting in the */ - /* same way as tabs. */ + // For space indentation we need to do a simple unindent if there are no chars to the left, acting in the + // same way as tabs. if (indent_using_spaces && cc != 0) { if (get_first_non_whitespace_column(cl) > cc) { prev_column = cc - _calculate_spaces_till_next_left_indent(cc); |