Package org.gjt.sp.jedit.textarea
Class StructureMatcher.BracketMatcher
- java.lang.Object
-
- org.gjt.sp.jedit.textarea.StructureMatcher.BracketMatcher
-
- All Implemented Interfaces:
StructureMatcher
- Enclosing interface:
- StructureMatcher
public static class StructureMatcher.BracketMatcher extends java.lang.Object implements StructureMatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gjt.sp.jedit.textarea.StructureMatcher
StructureMatcher.BracketMatcher, StructureMatcher.Highlight, StructureMatcher.Match
-
-
Constructor Summary
Constructors Constructor Description BracketMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructureMatcher.Match
getMatch(TextArea textArea)
Returns 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).
-
-
-
Method Detail
-
getMatch
public StructureMatcher.Match getMatch(TextArea textArea)
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
public void selectMatch(TextArea textArea)
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
-
-