diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/CallMethodTreeItem.java b/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/CallMethodTreeItem.java index ac20d60c9..fc0987b27 100644 --- a/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/CallMethodTreeItem.java +++ b/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/CallMethodTreeItem.java @@ -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(")"); } diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/CallPropertyTreeItem.java b/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/CallPropertyTreeItem.java index 21e47965b..101283ea9 100644 --- a/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/CallPropertyTreeItem.java +++ b/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/CallPropertyTreeItem.java @@ -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 ? ";" : ""); } diff --git a/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/ConstructSuperTreeItem.java b/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/ConstructSuperTreeItem.java index 583399e99..e819c1bb1 100644 --- a/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/ConstructSuperTreeItem.java +++ b/trunk/src/com/jpexs/asdec/abc/avm2/treemodel/ConstructSuperTreeItem.java @@ -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(");"); }