]> git.lyx.org Git - features.git/blobdiff - src/BufferView.cpp
* Lazy MathData to avoid unneeded interpretation of macro definitions
[features.git] / src / BufferView.cpp
index 19b9c9c54f41d152f499193749d44e28673d6958..e6b288234662dbe1f4797b369a2907b6e103c3bd 100644 (file)
@@ -349,9 +349,7 @@ void BufferView::processUpdateFlags(Update::flags flags)
                << ", singlepar = " << (flags & Update::SinglePar)
                << "]  buffer: " << &buffer_);
 
-       // Update macro store
-       if (!(cursor().inMathed() && cursor().inMacroMode()))
-               buffer_.updateMacros();
+       buffer_.updateMacros();
 
        // Now do the first drawing step if needed. This consists on updating
        // the CoordCache in updateMetrics().