public static class RSyntaxTextAreaEditorKit.InsertBreakAction extends RTextAreaEditorKit.InsertBreakAction
Constructor and Description |
---|
InsertBreakAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformedImpl(java.awt.event.ActionEvent e,
RTextArea textArea)
The actual meat of the action.
|
protected void |
handleInsertBreak(RSyntaxTextArea textArea,
boolean noSelection)
Actually inserts the newline into the document, and auto-indents
if appropriate.
|
getMacroID, isEnabled
actionPerformed, getAccelerator, getDescription, getIcon, getMnemonic, getName, isRecordable, setAccelerator, setMnemonic, setMnemonic, setName, setProperties, setRecordable, setShortDescription
augmentList, getFocusedComponent, getTextComponent
public void actionPerformedImpl(java.awt.event.ActionEvent e, RTextArea textArea)
RecordableTextAction
actionPerformedImpl
in class RTextAreaEditorKit.InsertBreakAction
e
- The action being performed.textArea
- The text area "receiving" the action.RecordableTextAction.actionPerformed(java.awt.event.ActionEvent)
protected void handleInsertBreak(RSyntaxTextArea textArea, boolean noSelection)
textArea
- noSelection
- Whether there is no selection.