hchunhui / librime-lua

Extending RIME with Lua scripts
BSD 3-Clause "New" or "Revised" License
309 stars 43 forks source link

哪位大佬能用Lua实现 -- 在输入拼音时能够支持“-”号上屏,但选词情况下无法使用“-”号往回翻 #326

Open zhjh0521 opened 6 months ago

zhjh0521 commented 6 months ago

我现在允许输入拼音的时候输入 - 号,但当我选在别的词的时候,按+就会显示下一页,但往回翻按 “-” 就直接上屏了。

有没有办法,在选词的时候,按 - 号还是往回翻候选字?可以参考macos自带输入法的方式,自带的输入法在候选字时输入+号,会展开,这时候再输入-号是不会上屏的

我在rime-ice的repo里也问了同样的问题,但没有人知道,这是之前issue链接:https://github.com/iDvel/rime-ice/issues/622

mirtlecn commented 6 months ago

其实你可以看看这个 PR,大致实现了和 macOS 输入法以及微软输入法同款的卷轴模式(弹性盒排列)。

https://github.com/rime/squirrel/pull/848

image

boomker commented 5 months ago

https://github.com/rime/squirrel/pull/848


这个 PR 里的版本,装了发现没有截图的效果,不知道是不是使用姿势不对

mirtlecn commented 5 months ago

你设置排列为 tabular 了吗,如果设置了还不行的话。就在那个 PR 下面问问 groverlyn。