]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.cpp
* src/LyXRC.{cpp,h}:
[lyx.git] / src / BufferView.cpp
index 63b3f4529b7608b5b25e135d4c92a56429932d49..eee61d6b93631f6b6f9422b4d72575066e7c0b71 100644 (file)
@@ -507,7 +507,7 @@ void BufferView::processUpdateFlags(Update::flags flags)
 
        // Update macro store
        if (!(cursor().inMathed() && cursor().inMacroMode()))
-               buffer_.buildMacros();
+               buffer_.updateMacros();
 
        // Now do the first drawing step if needed. This consists on updating
        // the CoordCache in updateMetrics().
@@ -1757,6 +1757,7 @@ bool BufferView::mouseSetCursor(Cursor & cur, bool select)
                d->cursor_.clearSelection();
 
        d->cursor_.finishUndo();
+       d->cursor_.setCurrentFont();
        return update;
 }