From 00cca0544384c7235a6785a47fdcb17357245dd5 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 18 Sep 2008 10:46:31 +0000 Subject: [PATCH 1/1] improve debug info git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26438 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Undo.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Undo.cpp b/src/Undo.cpp index 3b4bdf2f88..c7684bb1fc 100644 --- a/src/Undo.cpp +++ b/src/Undo.cpp @@ -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); -- 2.39.2