java.lang.Object
org.gjt.sp.jedit.textarea.StructureMatcher.BracketMatcher
- All Implemented Interfaces:
StructureMatcher
- Enclosing interface:
- StructureMatcher
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gjt.sp.jedit.textarea.StructureMatcher
StructureMatcher.BracketMatcher, StructureMatcher.Highlight, StructureMatcher.Match
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the element matching the one at the given text area's caret position, or null.void
selectMatch
(TextArea textArea) Selects from the caret to the matching structure element (if there is one, otherwise the behavior of this method is undefined).
-
Constructor Details
-
BracketMatcher
public BracketMatcher()
-
-
Method Details
-
getMatch
Description copied from interface:StructureMatcher
Returns the element matching the one at the given text area's caret position, or null.- Specified by:
getMatch
in interfaceStructureMatcher
-
selectMatch
Description copied from interface:StructureMatcher
Selects from the caret to the matching structure element (if there is one, otherwise the behavior of this method is undefined).- Specified by:
selectMatch
in interfaceStructureMatcher
-