highlights: new lines removed from hilight call, some not highlighted strings are highlighted

This commit is contained in:
Honfika
2013-08-25 16:57:22 +02:00
parent b28e8de18f
commit fa48f9478f
73 changed files with 343 additions and 110 deletions

View File

@@ -86,7 +86,7 @@ public class ForItem extends LoopItem implements Block {
ret += stripSemicolon(finalCommands.get(i).toString(highlight, localData));
p++;
}
ret += hilight(")", highlight) + "\r\n{\r\n";
ret += hilight(")", highlight) + "\r\n" + hilight("{", highlight) + "\r\n";
for (GraphTargetItem ti : commands) {
if (!ti.isEmpty()) {
ret += ti.toStringSemicoloned(highlight, localData) + "\r\n";