summarylogtreecommitdiffstats
path: root/source_edit.patch
blob: 8d3767e8565c19c9e552bde36429af565bbafdd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- Lumina-0.4.0/src/sourceedit.cpp.orig	2008-07-24 19:08:19.000000000 +0200
+++ Lumina-0.4.0/src/sourceedit.cpp	2009-04-21 01:35:04.000000000 +0200
@@ -300,7 +300,7 @@
 	myClassFormat.setFontWeight(0);
 	myClassFormat.setForeground(Qt::darkGreen);
   
-	index = text.indexOf(comment);
+	index = text.indexOf(pre);
 	while (index >= 0) {
 		length = pre.matchedLength();
 		setFormat(index, length, myClassFormat);