mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
Try to fix RSyntaxTextArea issues
This commit is contained in:
parent
bddf3e516b
commit
8b4d963e5a
@ -313,6 +313,7 @@ public class FormatDialog extends JDialog {
|
||||
|
||||
public void setFormatCode(String text) {
|
||||
editor.setText(text);
|
||||
editor.setEditable(true);
|
||||
editor.requestFocusInWindow();
|
||||
editor.scrollRectToVisible(new Rectangle(0, 0)); // reset scroll
|
||||
editor.setCaretPosition(text.length()); // scroll to end of format
|
||||
|
Loading…
Reference in New Issue
Block a user