Class RSyntaxTextAreaEditorKit.DeletePrevWordAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
org.fife.ui.rtextarea.RecordableTextAction
org.fife.ui.rtextarea.RTextAreaEditorKit.DeletePrevWordAction
org.fife.ui.rsyntaxtextarea.RSyntaxTextAreaEditorKit.DeletePrevWordAction
- All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
RSyntaxTextAreaEditorKit
public static class RSyntaxTextAreaEditorKit.DeletePrevWordAction
extends RTextAreaEditorKit.DeletePrevWordAction
Deletes the previous word, but differentiates symbols from "words" to
match the behavior of code editors.
- Version:
- 0.5
- See Also:
-
Field Summary
FieldsFields inherited from class AbstractAction
changeSupport, enabledFields inherited from interface 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetPreviousWordStart(RTextArea textArea, int offs) Returns the starting offset to delete.Methods inherited from class RTextAreaEditorKit.DeletePrevWordAction
actionPerformedImpl, getMacroIDMethods inherited from class RecordableTextAction
actionPerformed, getAccelerator, getDescription, getIcon, getMnemonic, getName, getShortDescription, isRecordable, setAccelerator, setMnemonic, setMnemonic, setName, setProperties, setRecordable, setShortDescriptionMethods inherited from class TextAction
augmentList, getFocusedComponent, getTextComponentMethods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
seg
-
-
Constructor Details
-
DeletePrevWordAction
public DeletePrevWordAction()
-
-
Method Details
-
getPreviousWordStart
Description copied from class:RTextAreaEditorKit.DeletePrevWordActionReturns the starting offset to delete. Exists so subclasses can override.- Overrides:
getPreviousWordStartin classRTextAreaEditorKit.DeletePrevWordAction- Throws:
BadLocationException
-