mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-01 11:53:21 +00:00
AS3: better imports
AS3: Types with same name shown with namespace
This commit is contained in:
@@ -177,10 +177,9 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements MouseL
|
||||
getCaret().setVisible(true);
|
||||
addCaretListener(this);
|
||||
}
|
||||
|
||||
private List<DoABCTag> abcList;
|
||||
|
||||
public void setScript(ScriptInfo script, ABC abc,List<DoABCTag> abcList) {
|
||||
|
||||
public void setScript(ScriptInfo script, ABC abc, List<DoABCTag> abcList) {
|
||||
setText("//Please wait...");
|
||||
if (script == null) {
|
||||
highlights = new ArrayList<Highlighting>();
|
||||
@@ -192,7 +191,7 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements MouseL
|
||||
|
||||
String hilightedCode;
|
||||
if (!bufferedClasses.containsKey(script)) {
|
||||
hilightedCode = script.convert(abcList,abc, false, true);
|
||||
hilightedCode = script.convert(abcList, abc, false, true);
|
||||
highlights = Highlighting.getInstrHighlights(hilightedCode);
|
||||
traitHighlights = Highlighting.getTraitHighlights(hilightedCode);
|
||||
methodHighlights = Highlighting.getMethodHighlights(hilightedCode);
|
||||
@@ -216,7 +215,7 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements MouseL
|
||||
if (bufferedClasses.containsKey(script)) {
|
||||
bufferedClasses.remove(script);
|
||||
}
|
||||
setScript(script, abc,abcList);
|
||||
setScript(script, abc, abcList);
|
||||
setNoTrait();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user