From kde-commits Thu Apr 07 20:06:41 2005 From: Christoph Cullmann Date: Thu, 07 Apr 2005 20:06:41 +0000 To: kde-commits Subject: kdelibs/kate/part Message-Id: <20050407200641.4C396494 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111290441829750 CVS commit by cullmann: comment out my own oververbose debug output, candidate for backport, too ;) M +9 -9 katebuffer.cpp 1.221 --- kdelibs/kate/part/katebuffer.cpp #1.220:1.221 @@ -897,9 +897,9 @@ bool KateBuffer::doHighlight (KateBufBlo return false; - QTime t; - t.start(); - kdDebug (13020) << "HIGHLIGHTED START --- NEED HL, LINESTART: " << startLine << " LINEEND: " << endLine << endl; - kdDebug (13020) << "HL UNTIL LINE: " << m_lineHighlighted << " MAX: " << m_lineHighlightedMax << endl; - kdDebug (13020) << "HL DYN COUNT: " << KateHlManager::self()->countDynamicCtxs() << " MAX: " << m_maxDynamicContexts << endl; + //QTime t; + //t.start(); + //kdDebug (13020) << "HIGHLIGHTED START --- NEED HL, LINESTART: " << startLine << " LINEEND: " << endLine << endl; + //kdDebug (13020) << "HL UNTIL LINE: " << m_lineHighlighted << " MAX: " << m_lineHighlightedMax << endl; + //kdDebug (13020) << "HL DYN COUNT: " << KateHlManager::self()->countDynamicCtxs() << " MAX: " << m_maxDynamicContexts << endl; // see if there are too many dynamic contexts; if yes, invalidate HL of all documents @@ -1211,8 +1211,8 @@ bool KateBuffer::doHighlight (KateBufBlo emit codeFoldingUpdated(); - kdDebug (13020) << "HIGHLIGHTED END --- NEED HL, LINESTART: " << startLine << " LINEEND: " << endLine << endl; - kdDebug (13020) << "HL UNTIL LINE: " << m_lineHighlighted << " MAX: " << m_lineHighlightedMax << endl; - kdDebug (13020) << "HL DYN COUNT: " << KateHlManager::self()->countDynamicCtxs() << " MAX: " << m_maxDynamicContexts << endl; - kdDebug (13020) << "TIME TAKEN: " << t.elapsed() << endl; + //kdDebug (13020) << "HIGHLIGHTED END --- NEED HL, LINESTART: " << startLine << " LINEEND: " << endLine << endl; + //kdDebug (13020) << "HL UNTIL LINE: " << m_lineHighlighted << " MAX: " << m_lineHighlightedMax << endl; + //kdDebug (13020) << "HL DYN COUNT: " << KateHlManager::self()->countDynamicCtxs() << " MAX: " << m_maxDynamicContexts << endl; + //kdDebug (13020) << "TIME TAKEN: " << t.elapsed() << endl; // if we are at the last line of the block + we still need to continue