Editor's back_syllable
removes multiple syllables when selecting a shorter candidate
#910
Open
1 task done
Labels
Describe the bug
When multiple syllables are typed and the
selector
is used to select a shorter candidate, this would leave some unused syllables un-highlighted.If the
back_syllable
action of theeditor
is invoked, for example by hitting{Control+BackSpace}
, all the unhighlighted syllables (in this caseshu'ru
) are removed, instead of only one of them.To Reproduce
Steps to reproduce the bug:
luna_pinyin
. I tested this on weasel 0.16.1 and librime 1.11.2.ce'shi'shu'ru
.{Down}
until you select the word測試
.{Control+BackSpace}
to invokeback_syllable
and observe thatshu'ru
is removed, leaving onlyce'shi
in the input.Expected behavior
Only one syllable (in our case
shi
) shall be removed.Flavor(please complete the following information):
Select your flavor:
Package:
The text was updated successfully, but these errors were encountered: