void setSelectedText(@NotNull final String selectedText)
Replaces the selection with the specified text.
int getSelectionStart()
Returns the selection start offset.
int getSelectionEnd()
Returns the selection end offset.
int getDocumentLength()
Returns the length of the document.
boolean isEditable()
Returns true if this text area is editable, false otherwise.
This package contains the other part of the script editor.
int getCaretPosition()
Returns the caret position.
Document getDocument()
Returns the document this text area is editing.
void actionPerformed(final ActionEvent e)
jEdit's text area component.