Document getDocument()
Returns the document this text area is editing.
jEdit's text area component.
This package contains the other part of the script editor.
static int findWordEnd(final CharSequence line, final int pos, final String noWordSep)
Locates the end of the word at the specified position.
int getSelectionStart()
Returns the selection start offset.
Class with several utility functions used by the text area component.
int getSelectionEnd()
Returns the selection end offset.
void actionPerformed(final ActionEvent e)
void setSelectedText(@NotNull final String selectedText)
Replaces the selection with the specified text.
int getDocumentLength()
Returns the length of the document.
int getLineStartOffset(final int line)
Returns the start offset of the specified line.
CharSequence getLineText(final int lineIndex)
Returns the text on the specified line.