mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Don't call setEditable in ColorPane
Shows up in profiles, and should be unnecessary.
This commit is contained in:
parent
0b13660348
commit
8c2c1f4887
1 changed files with 0 additions and 2 deletions
|
@ -139,9 +139,7 @@ public class ColorPane extends JEditorPane {
|
|||
if (hyperlinkEnabled) {
|
||||
text = text.replaceAll("(<font color=[^>]*>([^<]*)) (\\[[0-9a-fA-F]*\\])</font>", "<a href=\"#$2\">$1</a> $3");
|
||||
}
|
||||
setEditable(true);
|
||||
kit.insertHTML(doc, doc.getLength(), text, 0, 0, null);
|
||||
setEditable(false);
|
||||
int len = getDocument().getLength();
|
||||
setCaretPosition(len);
|
||||
|
||||
|
|
Loading…
Reference in a new issue