Class RSyntaxTextAreaEditorKit.InsertPairedCharacterAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
RSyntaxTextAreaEditorKit.InsertQuoteAction
Enclosing class:
RSyntaxTextAreaEditorKit

public static class RSyntaxTextAreaEditorKit.InsertPairedCharacterAction extends RTextAreaEditorKit.DefaultKeyTypedAction
If there is no selection, a character is inserted. If there is a selection, it is wrapped by the character and its pair. Useful for e.g. quotes, parens, etc.
See Also: