Class StructureMatcher.BracketMatcher
java.lang.Object
org.gjt.sp.jedit.textarea.StructureMatcher.BracketMatcher
- All Implemented Interfaces:
StructureMatcher
- Enclosing interface:
StructureMatcher
- Since:
- jEdit 4.2pre3
- Version:
- $Id: StructureMatcher.java 23710 2014-11-01 23:35:36Z ezust $
- Author:
- Slava Pestov
-
Nested Class Summary
Nested classes/interfaces inherited from interface StructureMatcher
StructureMatcher.BracketMatcher, StructureMatcher.Highlight, StructureMatcher.Match -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns 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).
-
Constructor Details
-
BracketMatcher
public BracketMatcher()
-
-
Method Details
-
getMatch
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
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
-