Fixed AS3 - incorrect switching P-code causing empty text

This commit is contained in:
Jindra Petřík
2023-01-30 22:33:36 +01:00
parent 6f4cb4a8d6
commit e123bc699f
2 changed files with 3 additions and 0 deletions
@@ -389,6 +389,8 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi
public void clear() {
setText("");
bodyIndex = -1;
methodIndex = -1;
scriptIndex = -1;
setCaretPosition(0);
}