Fix wrong preedit cursor position in 2.4.x built on Qt5
Yokota K.
yokota6 at gmail.com
Tue Aug 20 09:51:17 UTC 2024
Pavel,
Oops, I’ll post it to the master as well. I missed to mention about it as I was thinking of the possibility to overwrite it with another version before 2.5 comes (hopefully), which introduces modern OnTheSpot style instead of the current OverTheSpot one.
Koji
> 2024/08/20 16:48、Pavel Sanda <sanda at lyx.org>のメール:
>
> On Tue, Aug 20, 2024 at 02:02:01PM +0900, Yokota K. wrote:
>> LyX-2.4.1 built on Qt5 seems to have wrong cursor position while editing preedit strings using the input method. Since this is annoying for input method users, may I apply the attached patch to the 2.4.x code?
>>
>> The preedit cursor position in the completing mode (choosing right chars from candidates by parts) reported by Qt5 points to the *end* of the selected part, while Qt6 points to the *start* of it.
>>
>> These different behaviors were not documented, so I missed to reflect it to the Qt5 case in fixing #13054.
>
> Looks reasonable and confined to predit text routines. But why it's only for 2.4.x and not master?
>
> Pavel
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
More information about the lyx-devel
mailing list