Merge pull request #34563 from Paulb23/23751_extra_line_indent

Fixed selection indent taking an additional line
This commit is contained in:
Rémi Verschelde 2019-12-30 16:20:37 +01:00 committed by GitHub
commit 5b687b4c93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1946,6 +1946,7 @@ void TextEdit::indent_right() {
// Ignore if the cursor is not past the first column.
if (is_selection_active() && get_selection_to_column() == 0) {
selection_offset = 0;
end_line--;
}