commit d91ee7fcb34cf9bb928fb62e8a2575f08a32b785
Author: Juergen Spitzmueller <[email protected]>
Date:   Sat Oct 10 13:24:51 2026 +0200

    Update buffer before auto-inserting arguments
---
 src/Text.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Text.cpp b/src/Text.cpp
index 8f0b01f872..b844036c03 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -3549,6 +3549,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;
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to