|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for matching parts of a source file's stucture. The default implementation matches brackets. The XML plugin provides an implementation for matching XML tags.
Nested Class Summary | |
static class |
StructureMatcher.BracketMatcher
|
static class |
StructureMatcher.Highlight
Paints the structure match highlight. |
static class |
StructureMatcher.Match
A structure match, denoted by a start and end position. |
Method Summary | |
StructureMatcher.Match |
getMatch(JEditTextArea textArea)
Returns the element matching the one at the given text area's caret position, or null. |
void |
selectMatch(JEditTextArea textArea)
Selects from the caret to the matching structure element (if there is one, otherwise the behavior of this method is undefined). |
Method Detail |
public StructureMatcher.Match getMatch(JEditTextArea textArea)
public void selectMatch(JEditTextArea textArea)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |