mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-24 21:20:45 +00:00
AS3 - some hilight fixes
This commit is contained in:
@@ -45,7 +45,7 @@ public class CallMethodTreeItem extends TreeItem {
|
||||
}
|
||||
args = args + arguments.get(a).toString(constants);
|
||||
}
|
||||
return receiver.toString(constants) + "." + methodName + hilight("(") + args + hilight(")");
|
||||
return receiver.toString(constants) + hilight(".") + methodName + hilight("(") + args + hilight(")");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -43,11 +43,11 @@ public class CallPropertyTreeItem extends TreeItem {
|
||||
String args = "";
|
||||
for (int a = 0; a < arguments.size(); a++) {
|
||||
if (a > 0) {
|
||||
args = args + ",";
|
||||
args = args + hilight(",");
|
||||
}
|
||||
args = args + arguments.get(a).toString(constants);
|
||||
}
|
||||
return formatProperty(constants, receiver, propertyName) + "(" + args + ")" + (isVoid ? ";" : "");
|
||||
return formatProperty(constants, receiver, propertyName) + hilight("(") + args + hilight(")") + (isVoid ? ";" : "");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ public class ConstructSuperTreeItem extends TreeItem {
|
||||
}
|
||||
String calee = object.toString(constants) + ".";
|
||||
if (Highlighting.stripHilights(calee).equals("this.")) calee = "";
|
||||
return calee + hilight("super(") + argStr + hilight(")");
|
||||
return calee + hilight("super(") + argStr + hilight(");");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user