]> git.lyx.org Git - lyx.git/commitdiff
Improve painting debug info.
authorAbdelrazak Younes <younes@lyx.org>
Sat, 1 Sep 2007 09:36:53 +0000 (09:36 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 1 Sep 2007 09:36:53 +0000 (09:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19971 a592a061-630c-0410-9148-cb99ea01b6c8

src/TextMetrics.cpp

index b64ff87b4bf92bf75f03a2af4a1475fd06d4f557..8f3c2e194910e57dd7f6da70df8534389f11d764 100644 (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 << "]";