mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 00:50:47 +00:00
highlight parameter added
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user