mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 19:54:37 +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 Highlighting currentMethodHighlight;
|
||||
private ABC abc;
|
||||
private int scriptIndex;
|
||||
private int scriptIndex=-1;
|
||||
public int lastTraitIndex = 0;
|
||||
private boolean ignoreCarret = false;
|
||||
private boolean reset = false;
|
||||
@@ -315,7 +315,9 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements CaretL
|
||||
if (bufferedClasses.containsKey(scriptIndex)) {
|
||||
bufferedClasses.remove(scriptIndex);
|
||||
}
|
||||
setScript(scriptIndex, abc, abcList);
|
||||
if((scriptIndex!=-1)&&(abc!=null)){
|
||||
setScript(scriptIndex, abc, abcList);
|
||||
}
|
||||
setNoTrait();
|
||||
setClassIndex(ci);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user