Improve painting debug info.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19971 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-09-01 09:36:53 +00:00
parent 4ed011dbd1
commit 5aefefe0cf

View File

@ -1037,8 +1037,8 @@ void TextMetrics::drawParagraph(PainterInfo & pi, pit_type pit, int x, int y) co
// 12 lines lower):
if (lyxerr.debugging(Debug::PAINTING)) {
if (text_->isMainText(bv_->buffer()))
LYXERR(Debug::PAINTING) << "{" <<
pi.full_repaint << row_has_changed << "}\n";
LYXERR(Debug::PAINTING) << "\n{" <<
pi.full_repaint << row_has_changed << "}";
else
LYXERR(Debug::PAINTING) << "[" <<
pi.full_repaint << row_has_changed << "]";