highlight parameter added

This commit is contained in:
Honfika
2013-08-25 15:17:58 +02:00
parent 1f6d2f0056
commit d1a0c1d463
218 changed files with 622 additions and 621 deletions
@@ -31,12 +31,12 @@ public class MBStringLengthActionItem extends ActionItem {
}
@Override
public String toString(ConstantPool constants) {
String s = value.toString(constants);
public String toString(boolean highlight, ConstantPool constants) {
String s = value.toString(highlight, constants);
if (value.precedence > precedence) {
s = "(" + s + ")";
}
return hilight("mblength(") + s + ")";
return hilight("mblength(", highlight) + s + ")";
}
@Override