public interface BraceMatcherTerminationAspect
In the described case a class implementing PairedBraceMatcher
may also implement this aspect to
perform its own specific checks.
Modifier and Type | Method and Description |
---|---|
boolean |
shouldStopMatch(boolean forward,
IElementType braceType,
HighlighterIterator iterator)
Checks if a search for matching brace should be stopped with negative result if an element having the given type
is encountered.
|
boolean shouldStopMatch(boolean forward, IElementType braceType, HighlighterIterator iterator)
forward
- The forward search flag.braceType
- The type of the brace for which an opposite brace is searched for.iterator
- The iterator at the current position to be checked.