Re: [LyX/master] Add support for IM attribute specification over multiple segments

Kornel Benko <[email protected]> Sun, 14 Jun 2026 11:13:31 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <20260614111331.35add9e6@admin1-desktop>
Am Sun, 14 Jun 2026 05:04:06 +0000
schrieb Koji Yokota <[email protected]>:

> commit f198a3847c685e29565ffb952caf7870ba45bc60
> Author: Koji Yokota <[email protected]>
> 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

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
Error (application/octet-stream, 1.3 KB) - not displayed
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE75EqQxV38F6szpLQb1AEVgNfRFsFAmoucLsACgkQb1AEVgNf
RFsQIAf/fZ+JkYN3SKjap+vyx6pU90En72Re+Psr5MapO1Fxv9qnrNp0tQO5dM6y
chIcDB5fgxqSvcMzMgE1e6gtICVCHPSDrOyIY8NlwVaTNbDyU306AqDCx1+kUrm5
cb4Ce9aJWZrMIwe8Gl8hxi2pK7jgrZSx3lCxFjZWRoUm617WfkFDXPCaDPWZ/5fT
MLwx2JZ05q1G+Z8DW6Rty+rrT4BEGemaF4nmJGG7ksP1uW0bjEOV5bV2LjpSUgr8
DjCZ6ZNSJwnxTMcm1KyY2IV62bJ06dJwkc2+l1iWtLSwbMhIzaspCv0X8GG+ZqZp
ui7yE1Bhl++Sgg9ctJPOP6boVED+Uw==
=myD6
-----END PGP SIGNATURE-----