Skip to content

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

@octaeder

Description

@octaeder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions