SOURCES: kde4-kdeedu-kalgebra.patch (NEW) - buildfix
paszczus
paszczus at pld-linux.org
Tue Nov 4 16:11:58 CET 2008
Author: paszczus Date: Tue Nov 4 15:11:57 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- buildfix
---- Files affected:
SOURCES:
kde4-kdeedu-kalgebra.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/kde4-kdeedu-kalgebra.patch
diff -u /dev/null SOURCES/kde4-kdeedu-kalgebra.patch:1.1
--- /dev/null Tue Nov 4 16:11:58 2008
+++ SOURCES/kde4-kdeedu-kalgebra.patch Tue Nov 4 16:11:52 2008
@@ -0,0 +1,43 @@
+--- kdeedu-4.1.71/kalgebra/src/algebrahighlighter.cpp 2008-09-18 12:49:22.000000000 +0000
++++ kdeedu-4.1.71.new/kalgebra/src/algebrahighlighter.cpp 2008-11-04 14:39:30.020069011 +0000
+@@ -61,9 +61,7 @@
+ QPalette pal=qApp->palette();
+ QColor number(pal.color(QPalette::Active, QPalette::Link));
+ QColor variable(pal.color(QPalette::Active, QPalette::LinkVisited));
+- QColor definedFunction(0,50,0);
+- QColor undefinedFunction(0,0x86,0);
+- QColor block(50,0,50);
++ QColor id(50,0,50);
+ QColor uncorrect(Qt::red);
+ QColor brHighlight(0xff,0xa0,0xff);
+ QColor prHighlight(0xff,0xff,0x80);
+@@ -89,7 +87,7 @@
+ setFormat(i+1, 1, negreta);
+ inside--;
+ } else if(lasttag.endsWith(QChar('/'))) {
+- setFormat(i+1, j-i-1, definedFunction);
++ setFormat(i+1, j-i-1, id);
+ setFormat(j+1, 2, negreta);
+ } else if(j!=k) {
+ setFormat(i+1, j-i-1, QColor(150,0,0));
+@@ -127,17 +125,9 @@
+ f=variable;
+ }
+ break;
+- case ExpressionTable::tFunc:
+- if(a && a->variables()->contains(lex.current.val))
+- f=definedFunction;
+- else
+- f=undefinedFunction;
+- break;
+- case ExpressionTable::tBlock:
+- if(Container::toContainerType(lex.current.val))
+- f=block;
+- else
+- f=uncorrect;
++ case ExpressionTable::tId:
++ f=id;
++
+ break;
+ case -1:
+ m_correct = false;
================================================================
More information about the pld-cvs-commit
mailing list