I create an RSyntaxTextArea and set the text on it.
The problem is that the undo operation removes this initial text. I want the content to be 'undoable' till this initial text.
One logical way to achieve this would be to pass the text to the constructor, but in this case there is an NPE in JTextComponent.setCaretPosition.
Any solution ?
Thanks.
