]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
Remove boost/format support
[lyx.git] / src / Cursor.cpp
index 26aeabf1d5dc45a399f0d1ce68fad6ec6fbe7184..1f84f45feaace06c37a8156e9c4fa35b7c829537 100644 (file)
@@ -1061,12 +1061,6 @@ CursorSlice Cursor::normalAnchor() const
 }
 
 
-DocIterator & Cursor::realAnchor()
-{
-       return anchor_;
-}
-
-
 CursorSlice Cursor::selBegin() const
 {
        if (!selection())
@@ -2432,6 +2426,12 @@ void Cursor::checkBufferStructure()
                // In case the master has no gui associated with it,
                // the TocItem is not updated (part of bug 5699).
                buffer()->tocBackend().updateItem(*this);
+
+       // If the last tracked change of the paragraph has just been
+       // deleted, then we need to recompute the buffer flag
+       // tracked_changes_present_.
+       if (inTexted() && paragraph().isChangeUpdateRequired())
+               disp_.forceChangesUpdate();
 }