rime / ibus-rime

【中州韻】Rime for Linux/IBus
https://rime.im
GNU General Public License v3.0
730 stars 105 forks source link

improve inline_preedit and color_scheme #102

Closed tuberry closed 4 years ago

tuberry commented 4 years ago

Let inline_preedit be what it should be (aka. 单行模式 in Weasel ), at the same time, do not apply any color_scheme when the user has not set it.

image

Related to #82 and #83

lotem commented 4 years ago

The new code still have bugs, like in sentence style input (朙月拼音·語句流). I find it a little bit hard to reason about the code since some variables has changed meanings than in the old workflow. I ended up rewriting code for updating display content in rime_engine.c. Then added config option style/cursor_type to control if the inline cursor is at the beginning or at the logical insertion point.