texstudio-macro icon indicating copy to clipboard operation
texstudio-macro copied to clipboard

with macro "Auto-correct multiple capital letters" active multi cursors add text to first cursor only

Open octaeder opened this issue 1 year ago • 0 comments

Environment

  • TeXstudio: 4.5.1 and current dev git 4.5.1-92-g9c430267d
  • Qt: 6.4.2
  • OS: Win10
  • TeX distribution: miktex

Expected behavior

Text entered is inserted at all of the multi cursors

Actual behavior

Text is only entered at the first multi cursor

How to reproduce

Load Macro "Auto-correct multiple capital letters" from macro repository Create an new document (quick start wiz), a simple two liner is sufficient

\begin{equation*}
    \frac{1+1+1+1+1+1+1+1+1+1}
    {\frac{1+1+1+1+1+1+1+1+1}
    {\frac{1+1+1+1+1+1+1+1}
    {\frac{+1+1+1+1+1+1}
    {\frac{1+1+1+1+1+1}
    {\frac{1+1+1+1+1}
    {\frac{1+1+1+1}
    {\frac{1+1+1}
    {\frac{1+1}
    {1}}}}}}}}}
\end{equation*}

As an example add multi cursors before each but the first frac to change frac to dfrac. Enter d (use strg+alt+cursorDownArrow):

multicursors

octaeder avatar Mar 08 '23 14:03 octaeder