This needs a bit of testing. Idea is obviously to call partialRebreak
less often and remove stuff from  updateLocal()

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)
Index: insets/insettext.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettext.C,v
retrieving revision 1.435
diff -u -p -r1.435 insettext.C
--- insets/insettext.C  17 Jul 2003 09:32:06 -0000      1.435
+++ insets/insettext.C  17 Jul 2003 10:47:02 -0000
@@ -422,11 +422,10 @@ void InsetText::updateLocal(BufferView *
 {
        if (!bv)
                return;

        if (!autoBreakRows && paragraphs.size() > 1)
                collapseParagraphs(bv);
 
-       text_.partialRebreak();
+       //text_.partialRebreak();
        setUpdateStatus(what);
        bool flag = mark_dirty ||
                ((need_update != CURSOR && need_update != NONE) ||

Reply via email to