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
@@ -44,11 +44,11 @@ public class GetPropertyActionItem extends ActionItem {
}
@Override
public String toString(ConstantPool constants) {
public String toString(boolean highlight, ConstantPool constants) {
if (isEmptyString(target)) {
return hilight(Action.propertyNames[propertyIndex]);
return hilight(Action.propertyNames[propertyIndex], highlight);
}
return target.toString(constants) + hilight("." + Action.propertyNames[propertyIndex]);
return target.toString(highlight, constants) + hilight("." + Action.propertyNames[propertyIndex], highlight);
}
@Override