[LyX/master] Reset caret size when inserting text over a selection

Scott Kostyshak skostysh at lyx.org
Tue Oct 20 17:16:06 UTC 2020


On Tue, Oct 20, 2020 at 01:11:46PM +0200, Kornel Benko wrote:
> Am Sun, 18 Oct 2020 13:18:43 -0400
> schrieb Scott Kostyshak <skostysh at lyx.org>:
> 
> > On Sat, Oct 17, 2020 at 08:01:52PM +0200, Jean-Marc Lasgouttes wrote:
> > > commit c286cad565e2273339f21d8c17fe07942497d977
> > > Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> > > Date:   Sat Oct 17 20:29:16 2020 +0200
> > > 
> > >     Reset caret size when inserting text over a selection
> > > ---  
> > 
> > A bisect suggests this commit changed behavior. To reproduce:
> > 
> > 1. Open the attached file.
> > 2. Put the cursor inside the ERT inset (which is inside the preview).
> > 3. Select all (this will select all text inside the ERT).
> > 4. Type "Fall".
> > 
> > The result starting with this commit is that if you look at the LaTeX
> > code, we get "F{all}". Before this commit, we got "Fall".
> > 
> > Scott
> 
> The interesting thing is that if
> 4. Type <Backspace>
> 5. Type "Fall"
> we get "Fall" again.

Same here. It seems to be only triggered when inserting over the selection.

Scott
-------------- 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/20201020/1f7d5666/attachment.asc>


More information about the lyx-devel mailing list