|
|
|
@ -81,7 +81,7 @@ namespace Avalonia.Controls.Presenters |
|
|
|
TextBlock.FontSizeProperty.Changed, TextBlock.FontStyleProperty.Changed, |
|
|
|
TextBlock.FontWeightProperty.Changed, TextBlock.FontFamilyProperty.Changed, |
|
|
|
SelectionStartProperty.Changed, SelectionEndProperty.Changed, |
|
|
|
SelectionForegroundBrushProperty.Changed |
|
|
|
SelectionForegroundBrushProperty.Changed, PasswordCharProperty.Changed |
|
|
|
).AddClassHandler<TextPresenter>((x, _) => x.InvalidateFormattedText()); |
|
|
|
|
|
|
|
CaretIndexProperty.Changed.AddClassHandler<TextPresenter>((x, e) => x.CaretIndexChanged((int)e.NewValue)); |
|
|
|
|