com.borland.primetime.editor
Class EditorActions.MatchBraceAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--com.borland.primetime.editor.EditorAction
|
+--com.borland.primetime.editor.EditorActions.MatchBraceAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- Enclosing class:
- EditorActions
- public static class EditorActions.MatchBraceAction
- extends EditorAction
Move the caret to the matching brace, bracket, or paren.
The algorithm we use here is this:
- Get the character at the caret position. If it is not a brace-type
character, return.
-
- See Also:
- Serialized Form
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 |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditorActions.MatchBraceAction
public EditorActions.MatchBraceAction(java.lang.String nm,
boolean select)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Overrides:
actionPerformed
in class javax.swing.AbstractAction