public static class StructureMatcher.BracketMatcher extends java.lang.Object implements StructureMatcher
StructureMatcher.BracketMatcher, StructureMatcher.Highlight, StructureMatcher.Match| Constructor and Description |
|---|
BracketMatcher() |
| Modifier and Type | Method and 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).
|
public StructureMatcher.Match getMatch(TextArea textArea)
StructureMatchergetMatch in interface StructureMatcherpublic void selectMatch(TextArea textArea)
StructureMatcherselectMatch in interface StructureMatcher