From 8b42a021b2536538c38193405395959af3001db4 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Tue, 26 Feb 2008 13:09:06 +0000 Subject: [PATCH] * cur.insert does not set the update flags git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23246 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetText.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index 7f146b1de3..647ccef417 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -546,6 +546,8 @@ bool InsetText::insertCompletion(Cursor & cur, docstring const & s, BOOST_ASSERT(cur.bv().cursor() == cur); cur.insert(s); cur.bv().cursor() = cur; + if (!(cur.disp_.update() & Update::Force)) + cur.updateFlags(cur.disp_.update() | Update::Force | Update::SinglePar); return true; }