rime / librime

Rime Input Method Engine, the core library
https://rime.im
BSD 3-Clause "New" or "Revised" License
3.37k stars 551 forks source link

在长词联想时Shift+Right没有作用 #880

Closed sbxlm closed 4 months ago

sbxlm commented 4 months ago

Describe the bug 在长词联想时,若首选为5字及以上词,Shift+Right没有作用,移动不了光标。

To Reproduce Steps to reproduce the bug:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See bug

Expected behavior 若光标在尾部则移动到第一个音节后,再次操作则移动到第二音节后

Log If applicable, add crash log to quick focus your problem.

Screenshots QQ截图20240519085955

Flavor(please complete the following information): Select your flavor:

Package:

Additional context Add any other context about the problem here.

ksqsf commented 4 months ago

librime目前的逻辑是联想词不会在首选,且我无法复现issue中提到的问题。请问确认使用的是最新版librime的长词联想,没有引入什么别的逻辑(如lua)吗?

sbxlmdsl commented 4 months ago

问题已经解决,确实是因为lua脚本造成的,之前没考虑到长词联想,因为是基于老librime的。