]> git.lyx.org Git - features.git/blobdiff - src/mathed/formulabase.C
speed up math drawing
[features.git] / src / mathed / formulabase.C
index 5eaa8f93ed5352ab11309cfefebce837f7b2a481..d7298a06b29ff81a056e0265a65d08409e1a9533 100644 (file)
@@ -392,6 +392,8 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        hideInsetCursor(bv);
 
        mathcursor->normalize();
+       mathcursor->touch();
+
        switch (action) {
 
                // --- Cursor Movements ---------------------------------------------
@@ -721,6 +723,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        }
 
        mathcursor->normalize();
+       mathcursor->touch();
 
        lyx::Assert(mathcursor);