Bug(?) when creating an align* with Ctrl+Return.

Andrew Parsloe ajparsloe at gmail.com
Thu Apr 15 08:19:36 UTC 2021


Windows 10, LyX 2.4.0-alpha3 and 2.3.6.

Given a formula $ a=b=c $ position the cursor after the b and press 
Ctrl+Return. In LyX 2.4.0-alpha3 this produces
\begin{align*}
a & =b=c\\
\end{align*}
and leaves the cursor after the c. The cursor positioning and failure to 
transfer the part of the formula after the cursor to the newly created 
line seem like bugs to me.

In the align* formula again position the cursor after the b and press 
Ctrl+Enter. This time the result is
\begin{align*}
a & =b\\
  & =c\\
\end{align*}
with the cursor remaining just after the b. Except for the extra \\ 
(displaying in LyX as two empty blue boxes) this is what I expected the 
first time.

Andrew



More information about the lyx-devel mailing list