]> git.lyx.org Git - features.git/blobdiff - src/Undo.cpp
improve debug info
[features.git] / src / Undo.cpp
index 3b4bdf2f8872f076ae0f54d9cc6f69df6dfc2be9..c7684bb1fcf2bb65dee1d97e1a58fcfde82a7132 100644 (file)
@@ -285,7 +285,10 @@ void Undo::Private::doRecordUndo(UndoKind kind,
            && stack.top().end == end)
                return;
 
-       LYXERR(Debug::UNDO, "Create undo element of group " << group_id);
+       if (isFullBuffer)
+               LYXERR(Debug::UNDO, "Create full buffer undo element of group " << group_id);
+       else
+               LYXERR(Debug::UNDO, "Create undo element of group " << group_id);
        // create the position information of the Undo entry
        UndoElement undo(kind, cur, cell, from, end, 0, 0, 
                         buffer_.params(), isFullBuffer, group_id);