Browse Source
Merge pull request #7950 from 0x0ade/fix-textbox-backspace-caretindex
Fix backspace in textbox not moving caret
pull/7954/head
Benedikt Stebner
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/TextBox.cs
|
|
|
@ -1057,7 +1057,7 @@ namespace Avalonia.Controls |
|
|
|
|
|
|
|
SetTextInternal(editedText); |
|
|
|
|
|
|
|
CaretIndex = end; |
|
|
|
CaretIndex = start; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|