public static final class BasicEditorKit.EmacsDeleteHorizontalSpaceAction extends EmacsWriteAction
EmacsDeleteHorizontalSpaceAction
is the action
for deleting all spaces and tabs surrounding the current cursor
position.EmacsAction.Tracker
Constructor and Description |
---|
BasicEditorKit.EmacsDeleteHorizontalSpaceAction()
Constructs this object with the appropriate action name.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
The operation to perform when this action is triggered.
|
lock, unlock
addKillRing, appendKillRing, getClipboardText, getMark, getSystemClipboard, popKillRing, prependKillRing, removeMark, setClipboardText, setMark, setSystemClipboard, showEndBufferMessage, showMarkNotSetMessage, showMarkSetMessage, showNextKillAppendMessage, showPreviousNotYankMessage, showReadOnlyMessage, yankKillRing
actionPerformed, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, setMagicCaretPosition, showMessage, skipLeadingIndent
augmentList, getFocusedComponent, getTextComponent
public BasicEditorKit.EmacsDeleteHorizontalSpaceAction()
public final void actionPerformed(java.awt.event.ActionEvent event, BasicEditorPane editor, BasicDocument document)
actionPerformed
in class EmacsAction
event
- the action eventeditor
- the editor his action was invoked indocument
- the document associated with the editor