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.MatchgetMatch(TextArea textArea)Returns the element matching the one at the given text area's caret position, or null.voidselectMatch(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:StructureMatcherReturns the element matching the one at the given text area's caret position, or null.- Specified by:
getMatchin interfaceStructureMatcher
-
selectMatch
public void selectMatch(TextArea textArea)
Description copied from interface:StructureMatcherSelects from the caret to the matching structure element (if there is one, otherwise the behavior of this method is undefined).- Specified by:
selectMatchin interfaceStructureMatcher
-
-