mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 04:14:50 +00:00
corrected content type for AS3 p-code editor styles
This commit is contained in:
@@ -82,13 +82,13 @@ public class ASMSourceEditorPane extends LineMarkedEditorPane implements CaretLi
|
||||
this.exportMode = exportMode;
|
||||
long oldOffset = getSelectedOffset();
|
||||
if (exportMode == ScriptExportMode.PCODE) {
|
||||
setContentType("text/flasm");
|
||||
setContentType("text/flasm3");
|
||||
if (textNoHex == null) {
|
||||
textNoHex = getHighlightedText(exportMode);
|
||||
}
|
||||
setText(textNoHex);
|
||||
} else if (exportMode == ScriptExportMode.PCODE_HEX) {
|
||||
setContentType("text/flasm");
|
||||
setContentType("text/flasm3");
|
||||
if (textWithHex == null) {
|
||||
textWithHex = getHighlightedText(exportMode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user