[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kate/view
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2010-04-20 19:13:09
Message-ID: 20100420191309.8FC14AC89D () svn ! kde ! org
[Download RAW message or body]
SVN commit 1116979 by cullmann:
less verbose debug output
M +8 -0 kateview.cpp
--- trunk/KDE/kdelibs/kate/view/kateview.cpp #1116978:1116979
@@ -90,6 +90,8 @@
#include <QtCore/QMimeData>
#include <QtCore/QMutexLocker>
+#undef VIEW_RANGE_DEBUG
+
//END includes
void KateView::blockFix(KTextEditor::Range& range)
@@ -2779,8 +2781,10 @@
if (view && view != this)
return;
+#ifdef VIEW_RANGE_DEBUG
// output flags
kDebug() << "trigger attribute changed from" << startLine << "to" << endLine;
+#endif
// first call:
if (!m_delayedUpdateTriggered) {
@@ -2809,8 +2813,10 @@
Q_ASSERT (m_lineToUpdateMin >= 0);
Q_ASSERT (m_lineToUpdateMax >= 0);
+#ifdef VIEW_RANGE_DEBUG
// output view as void *, might be invalid pointer!
kDebug() << "delayed attribute changed from" << m_lineToUpdateMin << "to" << m_lineToUpdateMax;
+#endif
// update ranges in
updateRangesIn (KTextEditor::Attribute::ActivateMouseIn);
@@ -2875,8 +2881,10 @@
textRangeAttributeChanged (this, range->start().line(), range->end().line());
newRangesIn.insert (range);
+#ifdef VIEW_RANGE_DEBUG
// found new range for activation
kDebug() << "activated new range" << range << "by" << activationType;
+#endif
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic