Fixed Incorrect debugger line numbers when "Open loaded while playing" is enabled

Fixed AS3 debugger - Slow injecting debug info - now faster
Fixed AS3 debugger - obfuscated classes debugging
Fixed Delayed open loaded SWFs while playing
Fixed AS3 Direct editation - script initializer for main document class

Changed Wrong unicode escape `{invalid_utf8:xxx}` changed to `{invalid_utf8=xxx}` for compatibility with file names
This commit is contained in:
Jindra Petřík
2023-12-30 18:06:08 +01:00
parent e54973b761
commit bd6c953218
53 changed files with 325 additions and 80 deletions
@@ -27,6 +27,7 @@ import com.jpexs.decompiler.flash.gui.ViewMessages;
import com.jpexs.decompiler.flash.gui.editor.LineMarkedEditorPane;
import com.jpexs.decompiler.flash.helpers.HighlightedTextWriter;
import com.jpexs.decompiler.flash.helpers.hilight.Highlighting;
import com.jpexs.decompiler.flash.helpers.hilight.HighlightingList;
import com.jpexs.decompiler.flash.tags.Tag;
import java.awt.BorderLayout;
import java.io.IOException;
@@ -51,7 +52,7 @@ public class ClassTraitDetailPanel extends JPanel implements TraitDetail {
private TraitClass trait;
private List<Highlighting> specialHilights;
private HighlightingList specialHilights;
private boolean ignoreCaret = false;
@@ -103,6 +104,7 @@ public class ClassTraitDetailPanel extends JPanel implements TraitDetail {
writer.unindent();
}
writer.appendNoHilight("end ; trait");
writer.finishHilights();
String s = writer.toString();
specialHilights = writer.specialHilights;
classEditor.setText(s);