Merge pull request #23964 from allkhor/text_edit_clear_selection

TextEdit: remove selection when clear happens.
This commit is contained in:
Rémi Verschelde 2018-11-26 11:00:54 +01:00 committed by GitHub
commit 73551a1edc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -4264,6 +4264,7 @@ void TextEdit::_clear() {
cursor.line_ofs = 0;
cursor.wrap_ofs = 0;
cursor.last_fit_x = 0;
selection.active = false;
}
void TextEdit::clear() {