On Sat, Jul 23, 2022 at 03:16:10PM +0200, Jean-Marc Lasgouttes wrote:
> Le 23/07/2022 à 14:04, Scott Kostyshak a écrit :
> > To reproduce:
> > 
> > 1. ctrl + m to enter math mode.
> > 2. ctrl + m (again) to enter text-within-math mode.
> > 3. Type "\mathbf " (note the space at the end)
> > 
> > In 2.3.0, the cursor is placed inside the mathbf inset. In current
> > master, the cursor is placed after the mathbf inset. However, I don't
> > know if this is a good use case. It is a bit strange to do \mathbf in
> > text-within-math mode isn't it? I did it by mistake.
> 
> This looks like a bug indeed, even if it is not of the most ugly sort.

Bisect leads to:

  commit b0937fb93e1195c0fe523d269ae31412dc2c4044
  Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
  Date:   Mon Nov 5 21:29:22 2018 -1000
  
      When inserting math inset over selection, place cursor better

but I think there was a follow-up commit to that that made things a bit
better. At that commit, the mathbf inset doesn't even output \mathbf. In
current master, it does output it; it's just that the cursor is not
placed inside it.

Scott
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to