-
Notifications
You must be signed in to change notification settings - Fork 212
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
FormattedText.Spans does not exist #438
Comments
You are not telling us what you are trying to achieve. We closely follow WPF's text API For formatted text within a TextBlock this should help: https://docs.avaloniaui.net/docs/reference/controls/detailed-reference/textblock This is also valid: https://learn.microsoft.com/en-us/dotnet/api/system.windows.media.formattedtext?view=windowsdesktop-8.0 |
The issue is that https://reference.avaloniaui.net/ is outdated (as not maintained by you). So instead, I will use https://docs.avaloniaui.net/docs/reference/ . A Google search suggested https://reference.avaloniaui.net/ as documentation. I requested from Google to remove https://reference.avaloniaui.net/ from the Index. Thanks for the support. |
The docs website https://docs.avaloniaui.net/docs/reference/ directly links to this outdated https://reference.avaloniaui.net/ in many places The repo for the API reference website is here: https://github.com/AvaloniaUI/reference.avaloniaui.net but I suppose there is no CI job to update this part of the website. I don't know why you would request from Google to remove the reference page from the index. Someone from Avalonia Team should just re-generate it and that's it. |
Describe the bug
https://reference.avaloniaui.net/api/Avalonia.Media/FormattedText/ says there is a property Spans. Well: the property does not exist
To Reproduce
See https://github.com/AvaloniaUI/Avalonia/blob/23b3a767dcde97cbcd3df2fb03bafd35df1b6942/src/Avalonia.Base/Media/FormattedText.cs#L15 Spans is not part of the code
Expected behavior
The documentation should match the source code.
This one of the first things I tried - immediate failure :-( Confidence that Avalonia is an framework suitable for commercial use is vanishing.
Avalonia version
11.0.10
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: