[LyX/2.5.x] Amend 1b82fc4d8eb50dac7e
Juergen Spitzmueller <[email protected]> Thu, 23 Apr 2026 16:49:43 +0000
| Newsgroups | gmane.editors.lyx.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 884b7604a3bf3b50cbb044ff6899842708c9ad5b Author: Juergen Spitzmueller <[email protected]> Date: Mon Oct 13 13:31:38 2025 +0200 Amend 1b82fc4d8eb50dac7e Two glitches noted by JMarc (thanks!) (cherry picked from commit b078ee0c01d315fcdd463191078931185011261d) --- src/BufferView.cpp | 4 ++-- status.25x | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 2a4a6707ed..f6c672fe02 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -1765,11 +1765,11 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr) new_label = from_ascii("eq:equation"); int j = 1; while (buffer().activeLabel(new_label)) { - new_label = new_label + '-' + convert<docstring>(j); + new_label = from_ascii("eq:equation") + '-' + convert<docstring>(j); ++j; } // record undo for the math inset next to dit - cur.buffer()->undo().recordUndoInset(CursorData(dit), dit.nextInset()); + CursorData(dit).recordUndo(); // insert the label to the desired row of the hull inset dit.nextInset()->asInsetMath()->asHullInset()->label(row, new_label, true); // needed to get the new label into the buffer list diff --git a/status.25x b/status.25x index 153b77c929..716f1d9a30 100644 --- a/status.25x +++ b/status.25x @@ -28,6 +28,7 @@ What's new * USER INTERFACE +- Implement LFUN_REFERENCE_TO_PARAGRAPH for mathed (bug 13206). * DOCUMENTATION AND LOCALIZATION -- lyx-cvs mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-cvs