]> git.lyx.org Git - features.git/commitdiff
improve debug info
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Sep 2008 10:46:31 +0000 (10:46 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Sep 2008 10:46:31 +0000 (10:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26438 a592a061-630c-0410-9148-cb99ea01b6c8

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);