Fixed AS3 - incorrect switching P-code causing empty text

This commit is contained in:
Jindra Petřík
2023-01-29 16:28:23 +01:00
parent 6f4cb4a8d6
commit e123bc699f
2 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file.
- [#1954] Incorrect calculation of empty button bounds causing OutOfMemory
- [#1944] Scroll position not retained on Ctrl+click in the tag tree
- [#1940] AS3 decompilation - wrong assignment
- AS3 - incorrect switching P-code causing empty text
## [18.3.3] - 2023-01-22
### Added

View File

@@ -389,6 +389,8 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi
public void clear() {
setText("");
bodyIndex = -1;
methodIndex = -1;
scriptIndex = -1;
setCaretPosition(0);
}