- All Known Implementing Classes:
StructureMatcher.BracketMatcher
public interface StructureMatcher
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.
- Since:
- jEdit 4.2pre3
- Version:
- $Id: StructureMatcher.java 25255 2020-04-15 22:19:42Z kpouer $
- Author:
- Slava Pestov
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
Paints the structure match highlight.static class
A structure match, denoted by a start and end position. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 Details
-
getMatch
Returns the element matching the one at the given text area's caret position, or null.- Since:
- jEdit 4.2pre3
-
selectMatch
Selects from the caret to the matching structure element (if there is one, otherwise the behavior of this method is undefined).- Since:
- jEdit 4.2pre3
-