org.fife.ui.rsyntaxtextarea
Class RSyntaxTextAreaEditorKit.BeginWordAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
org.fife.ui.rtextarea.RecordableTextAction
org.fife.ui.rtextarea.RTextAreaEditorKit.BeginWordAction
org.fife.ui.rsyntaxtextarea.RSyntaxTextAreaEditorKit.BeginWordAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- RSyntaxTextAreaEditorKit
protected static class RSyntaxTextAreaEditorKit.BeginWordAction
- extends RTextAreaEditorKit.BeginWordAction
Positions the caret at the beginning of the word. This class is here
to better handle finding the "beginning of the word" for programming
languages.
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
RSyntaxTextAreaEditorKit.BeginWordAction
protected RSyntaxTextAreaEditorKit.BeginWordAction(String name,
boolean select)
getWordStart
protected int getWordStart(RTextArea textArea,
int offs)
throws BadLocationException
- Overrides:
getWordStart
in class RTextAreaEditorKit.BeginWordAction
- Throws:
BadLocationException