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
@@ -34,9 +34,9 @@ public class MBStringLengthActionItem extends ActionItem {
public String toString(boolean highlight, ConstantPool constants) {
String s = value.toString(highlight, constants);
if (value.precedence > precedence) {
s = "(" + s + ")";
s = hilight("(", highlight) + s + hilight(")", highlight);
}
return hilight("mblength(", highlight) + s + ")";
return hilight("mblength(", highlight) + s + hilight(")", highlight);
}
@Override