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 getMarkPosition()
Returns the mark position.
PrevWord(final boolean select)
Class with several utility functions used by the text area component.
static int findWordStart(final CharSequence line, final int pos, final String noWordSep)
Locates the start of the word at the specified position.
void actionPerformed(final ActionEvent e)
void setCaretPosition(final int caret)
Sets the caret position.
int getLineStartOffset(final int line)
Returns the start offset of the specified line.
void select(final int start, final int end)
Selects from the start offset to the end offset.
int getCaretPosition()
Returns the caret position.
CharSequence getLineText(final int lineIndex)
Returns the text on the specified line.