[Kst] extragear/graphics/kst/src/libkstmath
George Staikos
staikos at kde.org
Tue Feb 28 19:59:18 CET 2006
SVN commit 514564 by staikos:
Make recursive properties partially work - more bugs exist, to be illustrated
with the testcase
M +6 -2 labelparser.cpp
--- trunk/extragear/graphics/kst/src/libkstmath/labelparser.cpp #514563:514564
@@ -246,9 +246,10 @@
} else {
*skip = 1;
if (!*tail || !(*tail)->text.isEmpty() || (*tail)->locked()) {
- *tail = new Chunk(*tail);
+ *tail = new Chunk(*tail, Chunk::None, false, true);
}
(*tail)->linebreak = true;
+ *tail = new Chunk(*tail, Chunk::None, false, true);
return true;
}
break;
@@ -336,9 +337,10 @@
} else {
*skip = 1;
if (!*tail || !(*tail)->text.isEmpty() || (*tail)->locked()) {
- *tail = new Chunk(*tail);
+ *tail = new Chunk(*tail, Chunk::None, false, true);
}
(*tail)->tab = true;
+ *tail = new Chunk(*tail, Chunk::None, false, true);
return true;
}
break;
@@ -402,12 +404,14 @@
ctail = new Chunk(ctail, Chunk::None, false, true);
}
ctail->linebreak = true;
+ ctail = new Chunk(ctail, Chunk::None, false, true);
break;
case '\t':
if (!ctail || !ctail->text.isEmpty() || ctail->locked()) {
ctail = new Chunk(ctail, Chunk::None, false, true);
}
ctail->tab = true;
+ ctail = new Chunk(ctail, Chunk::None, false, true);
break;
case 0x5c: // \ /**/
if (ctail->vOffset != Chunk::None && !ctail->text.isEmpty()) {
More information about the Kst
mailing list