[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/drkonqi
From: George Kiagiadakis <kiagiadakis.george () gmail ! com>
Date: 2010-08-18 21:49:27
Message-ID: 20100818214928.0478CAC855 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1165332 by gkiagia:
There is no need to handle 'crap' lines in the highlighter.
Those lines are always removed from the backtrace.
M +0 -3 gdbhighlighter.cpp
M +0 -1 gdbhighlighter.h
--- trunk/KDE/kdebase/runtime/drkonqi/gdbhighlighter.cpp #1165331:1165332
@@ -38,7 +38,6 @@
funcFormat.setForeground(scheme.foreground(KColorScheme::VisitedText));
funcFormat.setFontWeight(QFont::Bold);
otheridFormat.setForeground(scheme.foreground(KColorScheme::PositiveText));
- crapFormat.setForeground(scheme.foreground(KColorScheme::InactiveText));
}
void GdbHighlighter::highlightBlock(const QString& text)
@@ -116,8 +115,6 @@
}
idx += hexptrPattern.matchedLength();
}
- } else if (line.type() == BacktraceLine::Crap) {
- setFormat(cur, diff, crapFormat);
}
cur = next;
--- trunk/KDE/kdebase/runtime/drkonqi/gdbhighlighter.h #1165331:1165332
@@ -36,7 +36,6 @@
QTextCharFormat urlFormat;
QTextCharFormat funcFormat;
QTextCharFormat otheridFormat;
- QTextCharFormat crapFormat;
};
#endif // GDBHIGHLIGHTER_H
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic