From efafd6b896573c9022e18403bbe983939d18dd64 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Thu, 4 Dec 2014 22:54:45 +0100 Subject: [PATCH] script highlighting fixed --- src/com/jpexs/decompiler/flash/gui/abc/UndoFixedEditorPane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/jpexs/decompiler/flash/gui/abc/UndoFixedEditorPane.java b/src/com/jpexs/decompiler/flash/gui/abc/UndoFixedEditorPane.java index 3a2e2b82d..973d18ffa 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/UndoFixedEditorPane.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/UndoFixedEditorPane.java @@ -41,7 +41,7 @@ public class UndoFixedEditorPane extends JEditorPane { setText(t, getContentType()); } - public void setText(String t, String contentType) { + public synchronized void setText(String t, String contentType) { if (!t.equals(getText())) { boolean plain = t.length() > Configuration.syntaxHighlightLimit.get(); if (plain) {