[LyX/master] Add support for IM attribute specification over multiple segments
Kornel Benko
kornel at lyx.org
Sun Jun 14 09:13:31 UTC 2026
Am Sun, 14 Jun 2026 05:04:06 +0000
schrieb Koji Yokota <yokota at lyx.org>:
> commit f198a3847c685e29565ffb952caf7870ba45bc60
> Author: Koji Yokota <yokota at lyx.org>
> Date: Sun Jun 14 13:57:45 2026 +0900
>
> Add support for IM attribute specification over multiple segments
>
> Although QInputMethodEvent documents that there should be at most one
> text format attribute specified on each segment, the de-facto standard
> seems different. LyX allowed duplicate attribute specification segment
> by segment so far. This fix extends it to allow overwrapped
> specification over segments.
>
> Eg. existing attribute [ seg ] [charFormat for a segment] [seg]
> incoming attribute [ <------ charFormat over segments ------> ]
> ---
> src/frontends/qt/GuiInputMethod.cpp | 192 ++++++++++++++++++++++++++++--------
> src/frontends/qt/GuiInputMethod.h | 3 +-
> src/frontends/qt/GuiPainter.cpp | 4 +-
> 3 files changed, 155 insertions(+), 44 deletions(-)
...
Now I get the attached.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Error
Type: application/octet-stream
Size: 1283 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20260614/14fa7bf7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20260614/14fa7bf7/attachment.sig>
More information about the lyx-devel
mailing list