-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Port WPF's FormattedText to Avalonia and rework TextPresenter #4893
Port WPF's FormattedText to Avalonia and rework TextPresenter #4893
Conversation
c32dd6d
to
d173d08
Compare
d428185
to
94b588d
Compare
77a407d
to
86949bd
Compare
@Gillibald Hey, just wondering what is the status of this? Is it ready and waiting for 11.0 since it's breaking change? |
Most of the required changes are made. For TextPreseneter some user interaction needs to be optimized and we need proper testing until this can get merged into master. Could be that we abandon the changes made to TextPresenter and instead port WPF's TextBox implementation. This highly depends on how long #5461 takes. FormattedText related changes will be merged when we can merge breaking changes. |
Thanks for the info. Does it include the RTL and IME support? Let me know if you need help with testing. |
I have just tested some basic copy-paste of Emoji-Sequences combined with caret navigation and text selection. Haven't tested RTL text. |
I also can help testing RTL (and probably other things). When will this be done? |
This is currently blocked by other PR's. This will move on after the next release. Probably next week. |
7225d8b
to
1883d8b
Compare
I can reproduce the crash. RTL text editing is still not ready. I will let you know when I need your input. |
13fdb32
to
74ee684
Compare
9ba6cdf
to
2cc9524
Compare
a9dec62
to
887ee05
Compare
9656f71
to
f9f10f0
Compare
You can test this PR using the following package version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After my initial testing it seems that main editing workflow is working fine. Let's get this merged and get more feedback.
There are a few more, if editing text is an ongoing work, it can be addressed after merge. (from ControlCatalog):
|
You can test this PR using the following package version. |
|
@Gillibald congrats! Finally merged! :) |
Thanks |
What does the pull request do?
WPF
Avalonia
https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.formattedtext?view=netcore-3.1
What is the current behavior?
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
ToDos
Checklist
Breaking changes
Fixed issues
Fixes: #4755 #4754 #4708 #5111 #5130 #5233 #1817 #3777
Depending on: #6785