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
@@ -52,7 +52,7 @@ public class InitObjectActionItem extends ActionItem {
}
String valueStr = values.get(i).toString(highlight, constants);
if (values.get(i) instanceof TernarOpItem) { //Ternar operator contains ":"
valueStr = "(" + valueStr + ")";
valueStr = hilight("(", highlight) + valueStr + hilight(")", highlight);
}
objStr += names.get(i).toStringNoQuotes(highlight, constants) + hilight(":", highlight) + valueStr; //AS1/2 do not allow quotes in name here
}