Skip to content

Commit

Permalink
Fixed selection indent taking an additional line
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulb23 committed Dec 23, 2019
1 parent 22782d5 commit 0049f43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/gui/text_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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--;
}

Expand Down

0 comments on commit 0049f43

Please sign in to comment.