Revert ü convertor; implement Chinese qwerty layout; optimize punctuation input.#1857
Revert ü convertor; implement Chinese qwerty layout; optimize punctuation input.#1857AstroNot233 wants to merge 1 commit intofuto-org:zhfrom
Conversation
|
@abb128 Hello! Do you mind that I rewrite floating preedit preview? Especially editing, which I think is not that useful: we can learn from Japanese, using arrow keys to move cursor, in order to avoid complicated preedit preview processing. Rime doesn't support "move cursor to x", but allows "move cursor by x". This is because when cursor is at, like "你|hao", then tap DPAD_LEFT, it will automatically undo the selection of "ni", and preedit will be "ni|hao". Do once again, some schemas get "|nihao", some get "n|ihao". This makes it hard to process when user select a word, then tap the middle of that word. So the best practice is, only displaying caret positions(I added getting caretPos in RimeJNI), allowing LR moving instead of clicking to move. |
|
@AstroNot233 Samsung and iOS support tapping to move and it seems more convenient so I'd prefer tapping to be supported. Haven't seen any that use arrows, it's more of a Japanese thing. Plus Japanese also supports tap to move |
@abb128 I downloaded Trime and Fcitx5. Trime supports clicking to move cursor but has very low precision; Fcitx5 doesn't allow that at all. Due to that Rime itself doesn't allow to set caret position, I can only use while scope to send XK_Left or XK_Right. Here is the complexity:
This makes it very hard to calculating now many left shifts is needed when a user click the # marked position in You don't need to fully understand them, since you cannot change this behavior after all. Rime is initially designed for PC, so only uses Left and Right to move caret. Trime seems to try estimating but very inaccurate, sometimes left-shift can be correct, but never for right-shift. So maybe rather than estimating, directly sending |
@abb128
Modified schema collection is at futo-zh-zidian. Clone and use
./export.sh [version_name]to get .dict file.Btw, I have a question:
android-keyboard/java/src/org/futo/inputmethod/engine/general/ChineseIME.kt
Line 208 in 2d5841d
What does this actually do? I am confused by clearing it and inputting it again. And on my device, it seems to be buggy: after clicking preedit bar, every input behavior will be super strange.