commit d6b2494babfabcf8b52556fa9b80ab480ac9a1cd
Author: Juergen Spitzmueller <[email protected]>
Date: Sat Oct 10 13:24:51 2026 +0200
Update buffer before auto-inserting arguments
(cherry picked from commit d91ee7fcb34cf9bb928fb62e8a2575f08a32b785)
---
src/Text.cpp | 1 +
status.25x | 3 +++
2 files changed, 4 insertions(+)
diff --git a/src/Text.cpp b/src/Text.cpp
index 056440e8ae..c18ccb021e 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -3581,6 +3581,7 @@ void ipaChar(Cursor & cur, InsetIPAChar::Kind kind)
bool doAutoInsert(Cursor & cur)
{
bool autoargs = false, inautoarg = false;
+ cur.buffer()->updateBuffer();
Layout::LaTeXArgMap args = cur.inset().getLayout().args();
for (auto const & argt : args) {
Layout::latexarg arg = argt.second;
diff --git a/status.25x b/status.25x
index 74d602c7ea..32c5a1923f 100644
--- a/status.25x
+++ b/status.25x
@@ -23,6 +23,7 @@ What's new
* USER INTERFACE
+- Auto-insert arguments of flex insets without having a selection.
* DOCUMENTATION AND LOCALIZATION
@@ -53,6 +54,8 @@ What's new
- Consider escaped characters when checking for existing labels while doing
LaTeX output.
+
+- Fix missing buffer update with argument auto-insertion (bug 13259).
* USER INTERFACE
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs