-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextFormatter port issues #243
Comments
|
Are we leaking TextLines as well? |
Just tried this, most things work.
|
Could you provide the actual text you tried to display? |
As long it is simply reproducible for me this should be simple to fix |
BTW @Gillibald this one is fixed with Avalonia 11:
So feel free to mark it as completed (checked). |
@Gillibald Is there a setting to prevent this from happening? For Code I prefer <= |
Currently not out of the box. There are plans to introduce an API that allows to enable / disable certain font features like liga etc. If you don't want ligatures at all you need to register a custom text shaper that disables this feature or use a font that does not have this ligature. |
Yes. That flickering is new in Avalonia 11. Probably related (or same issue) to this: AvaloniaUI/Avalonia#8830 |
Unfortunately the following PR doesn't fix the flickering issue while selecting text: AvaloniaUI/Avalonia#8918 @Gillibald any idea of what's going on there? This didn't happen on the stable |
Will have a look next week. Probably some issue with the way VisualLine is being rendered. |
@HendrikMennen I can't repro the folding issue with AvaloniaEdit.Demo I need a repro to fix your issue |
Its quite weird: For testing I used this folding strategy: https://github.com/icsharpcode/AvalonEdit/blob/master/ICSharpCode.AvalonEdit.Sample/BraceFoldingStrategy.cs This works: I guess you used the builtin XmlFoldingStrategy to reproduce? <Project Sdk="Microsoft.NET.Sdk">
CRASH here ! <PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<WarningsNotAsErrors>0612,0618</WarningsNotAsErrors>
<PackageId>Avalonia.AvaloniaEdit</PackageId>
</PropertyGroup>
</Project> |
Y I was using the XmlFoldingStrategy. Let me try your implementation. |
The TextFormatter port aka Avalonia 11.0 support can be tested via: https://github.com/AvaloniaUI/AvaloniaEdit/tree/dev
Post your issues here if you find any. Our fork now follows more closely the original project's source.
The text was updated successfully, but these errors were encountered: