Windows/Linux keyboard shortcuts at a wordwrap#96323
Windows/Linux keyboard shortcuts at a wordwrap#96323fluttergithubbot merged 12 commits intoflutter:masterfrom
Conversation
|
I'm going to consider this blocked on #95948, which will bring back the extend/expand distinction needed to fix my last TODO (shift+home/end expands on Mac). |
9c74d81 to
a5f819c
Compare
There was a problem hiding this comment.
I think this was a typo in this test (probably by me in an earlier PR).
a5f819c to
7ed042b
Compare
There was a problem hiding this comment.
I think ideally this shouldn't be implemented in _LineBreak, as it's only supposed to tell you where the boundary is.
There was a problem hiding this comment.
I've moved it to the action and I think it makes more sense there, thanks for the suggestion.
In order to do this I added continuesAtWrap to DirectionalCaretMovementIntent even though most of its subclasses don't use continuesAtWrap. Let me know if you think that's not alright.
|
(triage) @justinmc Looks like google testing got stuck on this one and I don't see a way to restart it.. Maybe push an empty commit? |
|
I pushed a merge commit, hopefully that fixes it. Thanks for the reminder. |
|
This pull request is not suitable for automatic merging in its current state.
|
ca982bc to
6a97a50
Compare
Windows, Mac, and Linux all have different behavior for how wordwraps are treated by keyboard shortcuts that jump to the beginning/end of a line. Previously, Flutter always stopped at wordwrapped lines. This PR aims to get the behavior correct on all platforms.
I believe I covered all of the cases affected by this PR in the tests, so to see exactly what the behavior should be on each platform, check the tests. These are the high level features:
Fixes #90993