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
General support for navigating in vertical mode #397
Conversation
5d0ffd9
to
0712a24
Compare
navigator.cc needs updated to support vertical mode |
navigator needs to know if preedit text is inline. |
Even if it's inline, there needs a way to navigate the cursor. Currently, with the fix to selector, there's no way to move cursor in vertical mode, no matter it is in inline mode or not |
It's possible to navigate one-way to enter move-cursor mode, just as linear horizontal layout does. Admittedly it's harder to use, but I still prefer this than having to navigate with up/down. why I haven't been working on this part: it's a little trickier to make Tab key binding work as it is now bound to Shift+Right - moving forward by syllable. |
But with the current binding rules, users cannot modify navigating behavior without altering selection. Leaving navigating in vertical mode harder and un-customizable is unacceptable. |
|
00ebc10
to
6e9787d
Compare
This is really challenging. Need more time to work on this. Maybe skip the next release. |
That’s fine, I’m using this patch myself, and I feel it’s pretty intuitive. But it’s not a perfect patch, so no need to hurry. I suggest leave this pull open to remind there’s a todo |
27563c7
to
1363e47
Compare
Shot, I accidentally deleted the branch... |
The previous patch is not complete, for example
My fix is more general, but the patch in
navigator.cc
may not be idea, you may want to change it.A known issue is that in inline preediting vertical (whether horizontal on or off) mode, preedit text on screen may be horizontal and reads left-to-right, contradicting the up and down navigating direction. But this is a conceptual conflict, where in vertical mode, reading order is right-to-left, there is no good way to support both navigating candidates right-to-left, while navigating preedit field left-to-right.