Benedikt Stebner
2ecfbb9783
Fix Inlines clear handling ( #14247 )
* Make sure to clean up VisualChildren and created text runs when the TextLayout is invalidate
* Remove localized comment
---------
Co-authored-by: Tim <47110241+timunie@users.noreply.github.com>
2 years ago
Benedikt Stebner
1689bfe5b1
Add SelectionForegroundBrush to SelectableTextBlock ( #13618 )
2 years ago
Benedikt Stebner
a5b12fbc7d
Introduce TextBlock.LineSpacing ( #13243 )
* Introduce TextBlock.LineSpacing
* Introduce TextBlock.LineSpacing
3 years ago
Alessandro Francesconi
a581dc3628
Typo on TextBlock.cs comments ( #13255 )
"FontWeight" is actually "FontStretch"
3 years ago
Lehonti Ramos
69f4a304a2
In `Avalonia.Controls`, modernized `get`ter/`set`ter syntax ( #13021 )
Co-authored-by: Lehonti Ramos <lehonti@ramos>
3 years ago
Benedikt Stebner
8b0f2588fa
Only add embedded controls to the visual tree if they are part of the TextLayout
3 years ago
Bill Henning
16ab9c595c
Fix for TextBlock.TextDecorations not inheriting down to inlines.
3 years ago
Benedikt Stebner
475f22f6f6
Fix visual tree handling when Inlines is reset
3 years ago
Benedikt Stebner
e69661b353
Rework MaxLines to limit how many lines are visible at once and don't prevent additional input if MaxLines is reached
3 years ago
Steven Kirk
b0bcfcfbf7
Make TextBlock.SimpleTextSource private.
3 years ago
Steven Kirk
de0ebdda22
Don't expose fields.
3 years ago
Steven Kirk
d2ac14a2ce
Make some protected internal members internal.
3 years ago
Benedikt Stebner
f153c626f8
Fix TextLineImpl.GetCharacterHitFromDistance for lines that include a TextEndOfLine run
Fix overhang handling to prevent clipped text for slanted glyphs
Fix TextBox selection issues
3 years ago
Benedikt Stebner
4ddd83b561
Fix TextBlock Measure/Arrange
3 years ago
Benedikt Stebner
82c86010c1
Fix Windows IME
Fix TextWrapping for glyph cluster boundaries when an emergency break is taken
Remove redudant TextLayout creation for the TextBlock.ArrangeOverride
3 years ago
Tom Edwards
baf926bdfc
Review comment
3 years ago
Tom Edwards
86324dca77
Convert Text properties to StyledProperty
3 years ago
Tako
23d999c2eb
Make all Render overrides sealed ( #10299 )
3 years ago
Benedikt Stebner
6210018f3b
Propertly handle an InlineUIContainer's logical children
3 years ago
Benedikt Stebner
14fba2e53a
Rework HitTestTextRange
3 years ago
Julien Lebosquain
dec8c1c586
Used Memory/Span instead of CharacterBufferReference/Range
+ GlyphRun uses ReadOnlyMemory for characters
3 years ago
Sergey Mikolaitis
f6535c6b26
[Text] Dispose Text Layout in TextBlock and TextPresenter
3 years ago
Benedikt Stebner
895d85aa89
Implement CharacterBufferReference and related classes
3 years ago
Giuseppe Lippolis
7eac150e20
feat: Address Rule CA1815
3 years ago
Benedikt Stebner
b370a0b649
Fix TextBlock TextProperty update handling for non complex content
4 years ago
Benedikt Stebner
17b2834d21
Implement letter spacing
4 years ago
Benedikt Stebner
e639aead67
Fix logical parent cleanup
4 years ago
Benedikt Stebner
9403a3d0c7
Fix TextBlock inlines logical tree handling
4 years ago
Benedikt Stebner
93b77b1b6a
Move inlines support to TextBlock and rename RichTextBlock to SelectableTextBlock
4 years ago
Benedikt Stebner
dcd3804420
Make sure we always process inlines as whitespace significant
4 years ago
Benedikt Stebner
3ad71d4bea
Use IAddChild for TextBlock and RichTextBlock
4 years ago
Benedikt Stebner
eb627f393c
More fixes
4 years ago
Benedikt Stebner
5dc768aa13
Add some xml comments
4 years ago
Benedikt Stebner
90e0dcc9e3
Add Copy geasture
4 years ago
Benedikt Stebner
a408ea10d7
Some Progress
4 years ago
Benedikt Stebner
0c8f54fe00
Introduce RichTextBlock
4 years ago
Benedikt Stebner
04b0cb096c
Change TextAlignmentProperty default
4 years ago
Benedikt Stebner
a794d1765a
Initial implementation of TextAlignment.Justify
4 years ago
Benedikt Stebner
17b9f246f3
Text hit testing fixes
4 years ago
Benedikt Stebner
a056f0b654
Second attempt to fix text measurements with scaling
4 years ago
Benedikt Stebner
2425cbf7aa
Use RenderScaling in the ArrangeOverride
4 years ago
Benedikt Stebner
8772a46bba
Fix scaled text measurements
4 years ago
Benedikt Stebner
2902e3d24a
Rework Inlines invalidation
4 years ago
Steven Kirk
f8706278a8
Make OnPropertyChanged non-generic.
4 years ago
amwx
3792fb4447
Make other text properties Attached
4 years ago
Benedikt Stebner
768024a879
Implement InlineUIContainer
4 years ago
daniel mayost
ac18fb3597
same
4 years ago
daniel mayost
d8530e4baa
oops..
4 years ago
Benedikt Stebner
0de8c5dd52
Add FontStretch to property chane handler
4 years ago
Benedikt Stebner
b99e1b6b2c
Cleanup attached properties
4 years ago