[LyX/master] Fixup 65cb9fa4: avoid extra spacing when selecting math

Scott Kostyshak skostysh at lyx.org
Wed Oct 18 14:38:45 UTC 2023


On Wed, Oct 18, 2023 at 11:10:31AM +0200, Jean-Marc Lasgouttes wrote:
> commit 99ecdd6cebaaaf6bf8e8123411475d26df9c358c
> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> Date:   Wed Oct 18 12:28:47 2023 +0200
> 
>     Fixup 65cb9fa4: avoid extra spacing when selecting math
>     
>     This was happening whenever a selection started/ended after a fraction
>     inset.
> ---

I think this commit fixed an issue that I was about to bisect. The issue
is fixed now, but since it seems the issue is tricky I thought I would
attach another case since it doesn't have to do with a fraction inset.
Perhaps that helps to narrow in on the issue.

To reproduce (before your fix), I would put the cursor before "=" and
hold shift and do <Right> and then <Left>.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: equals-extra-space.23.lyx
Type: application/x-lyx
Size: 1905 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20231018/d011faf0/attachment.lyx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20231018/d011faf0/attachment.asc>


More information about the lyx-devel mailing list