improve debug info

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26438 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-09-18 10:46:31 +00:00
parent a20a4f2ca0
commit 00cca05443

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