[LyX/master] Add missing update with LFUN_TEXTBREAK_INSERT (#13282)

Juergen Spitzmueller spitz at lyx.org
Thu Feb 19 08:50:08 UTC 2026


commit 579473ebf664e575de28e557edefb4fc3674965f
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Thu Feb 19 09:49:09 2026 +0100

    Add missing update with LFUN_TEXTBREAK_INSERT (#13282)
---
 src/Text.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Text.cpp b/src/Text.cpp
index 3bafb753f1..1f8d9982a9 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -5729,6 +5729,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
 		// do nothing fancy
 		doInsertInset(cur, this, cmd, false, false);
 		cur.posForward();
+		cur.forceBufferUpdate();
+		cur.screenUpdateFlags(Update::Force);
 		break;
 	}
 


More information about the lyx-cvs mailing list