mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 21:20:45 +00:00
AS3 - fixed not refreshing class list after rename identifiers
This commit is contained in:
@@ -38,7 +38,7 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements CaretL
|
|||||||
private List<Highlighting> classHighlights = new ArrayList<Highlighting>();
|
private List<Highlighting> classHighlights = new ArrayList<Highlighting>();
|
||||||
private Highlighting currentMethodHighlight;
|
private Highlighting currentMethodHighlight;
|
||||||
private ABC abc;
|
private ABC abc;
|
||||||
private int scriptIndex;
|
private int scriptIndex=-1;
|
||||||
public int lastTraitIndex = 0;
|
public int lastTraitIndex = 0;
|
||||||
private boolean ignoreCarret = false;
|
private boolean ignoreCarret = false;
|
||||||
private boolean reset = false;
|
private boolean reset = false;
|
||||||
@@ -315,7 +315,9 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements CaretL
|
|||||||
if (bufferedClasses.containsKey(scriptIndex)) {
|
if (bufferedClasses.containsKey(scriptIndex)) {
|
||||||
bufferedClasses.remove(scriptIndex);
|
bufferedClasses.remove(scriptIndex);
|
||||||
}
|
}
|
||||||
setScript(scriptIndex, abc, abcList);
|
if((scriptIndex!=-1)&&(abc!=null)){
|
||||||
|
setScript(scriptIndex, abc, abcList);
|
||||||
|
}
|
||||||
setNoTrait();
|
setNoTrait();
|
||||||
setClassIndex(ci);
|
setClassIndex(ci);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user