Compunet
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/TextBox.cs
|
|
|
@ -2183,7 +2183,7 @@ namespace Avalonia.Controls |
|
|
|
textBuilder.Append(text); |
|
|
|
textBuilder.Remove(start, end - start); |
|
|
|
|
|
|
|
SetCurrentValue(TextProperty, textBuilder.ToString()); |
|
|
|
SetCurrentValue(TextProperty, StringBuilderCache.GetStringAndRelease(textBuilder)); |
|
|
|
|
|
|
|
_presenter?.MoveCaretToTextPosition(start); |
|
|
|
|
|
|
|
|