diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/abc/LineMarkedEditorPane.java b/trunk/src/com/jpexs/decompiler/flash/gui/abc/LineMarkedEditorPane.java index 8cfbd9502..4a9340b78 100644 --- a/trunk/src/com/jpexs/decompiler/flash/gui/abc/LineMarkedEditorPane.java +++ b/trunk/src/com/jpexs/decompiler/flash/gui/abc/LineMarkedEditorPane.java @@ -60,12 +60,14 @@ public class LineMarkedEditorPane extends UndoFixedEditorPane { public void setText(String t) { lastLine = -1; super.setText(t); + setCaretPosition(0); //scroll to top } @Override public void setText(String t, String contentType) { lastLine = -1; super.setText(t, contentType); + setCaretPosition(0); //scroll to top } @Override