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