com.borland.primetime.editor
Class EditorActions.MatchBraceAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--com.borland.primetime.editor.EditorAction
|
+--com.borland.primetime.editor.EditorActions.MatchBraceAction
- 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 |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener,
clone,
firePropertyChange,
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)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Overrides:
- actionPerformed in class javax.swing.AbstractAction