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.
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)
static int findWordStart(final CharSequence line, final int pos, final String noWordSep)
Locates the start of the word at the specified position.
void setSelectedText(@NotNull final String selectedText)
Replaces the selection with the specified text.
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.