allow to create swf from code only / export SWF to "Java code", which generates the SWF

This commit is contained in:
honfika@gmail.com
2015-01-17 12:17:03 +01:00
parent 30a3bc1e3e
commit 07eaafdc55
64 changed files with 841 additions and 259 deletions

View File

@@ -76,7 +76,7 @@ public class ASMSourceEditorPane extends LineMarkedEditorPane implements CaretLi
}
public void setHex(ScriptExportMode exportMode, boolean force) {
if (this.exportMode == exportMode & !force) {
if (this.exportMode == exportMode && !force) {
return;
}
this.exportMode = exportMode;
@@ -274,9 +274,9 @@ public class ASMSourceEditorPane extends LineMarkedEditorPane implements CaretLi
lineStart = i + 1;
}
}
if (lineCnt == -1) {
//lineEnd = text.length() - 1;
}
//if (lineCnt == -1) {
// lineEnd = text.length() - 1;
//}
//select(lineStart, lineEnd);
setCaretPosition(lineStart);
//requestFocus();