replace hex tags to comment in export, AS2 highlight fixed

This commit is contained in:
Honfika
2013-10-15 22:24:17 +02:00
parent 3be09601c3
commit 79f2f7cd45
3 changed files with 5 additions and 2 deletions
@@ -721,7 +721,7 @@ public class Action implements GraphSourceItem {
* @return HilightedTextWriter with Source code
*/
public static String actionsToSource(List<Action> actions, int version, String path, boolean highlight, int indent) {
HilightedTextWriter writer = new HilightedTextWriter(false, indent);
HilightedTextWriter writer = new HilightedTextWriter(highlight, indent);
Action.actionsToSource(actions, SWF.DEFAULT_VERSION, ""/*FIXME*/, writer);
String s = Graph.removeNonRefenrencedLoopLabels(writer.toString());
return s;