AS3 - some hilight fixes

This commit is contained in:
Jindra Pet��k
2011-07-10 16:49:19 +02:00
parent 57dc0ffa21
commit 6b3a959054
3 changed files with 4 additions and 4 deletions
@@ -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(");");
}