|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction javax.swing.text.TextAction org.fife.ui.rtextarea.RecordableTextAction org.fife.ui.rtextarea.RTextAreaEditorKit.PreviousWordAction org.fife.ui.rsyntaxtextarea.RSyntaxTextAreaEditorKit.PreviousWordAction
public static class RSyntaxTextAreaEditorKit.PreviousWordAction
Action to move the selection and/or caret. Constructor indicates
direction to use. This class overrides the behavior defined in
RTextAreaEditorKit
to better skip "words" in source code.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
RSyntaxTextAreaEditorKit.PreviousWordAction(java.lang.String nm,
boolean select)
|
Method Summary | |
---|---|
protected int |
getPreviousWord(RTextArea textArea,
int offs)
Overridden to do better with skipping "words" in code. |
Methods inherited from class org.fife.ui.rtextarea.RTextAreaEditorKit.PreviousWordAction |
---|
actionPerformedImpl, getMacroID |
Methods inherited from class org.fife.ui.rtextarea.RecordableTextAction |
---|
actionPerformed, getAccelerator, getDescription, getIcon, getMnemonic, getName, isRecordable, setAccelerator, setMnemonic, setMnemonic, setName, setProperties, setRecordable, setShortDescription |
Methods inherited from class javax.swing.text.TextAction |
---|
augmentList, getFocusedComponent, getTextComponent |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSyntaxTextAreaEditorKit.PreviousWordAction(java.lang.String nm, boolean select)
Method Detail |
---|
protected int getPreviousWord(RTextArea textArea, int offs) throws javax.swing.text.BadLocationException
getPreviousWord
in class RTextAreaEditorKit.PreviousWordAction
javax.swing.text.BadLocationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |