Package groovy.console.ui.text
Class MatchingHighlighter
java.lang.Object
groovy.console.ui.text.MatchingHighlighter
- All Implemented Interfaces:
EventListener
,CaretListener
public class MatchingHighlighter extends Object implements CaretListener
Represents highlighter to highlight matched parentheses, brackets and curly braces when caret touching them
- Since:
- 3.0.0
-
Constructor Summary
Constructors Constructor Description MatchingHighlighter(SmartDocumentFilter smartDocumentFilter, JTextPane textEditor)
-
Method Summary
Modifier and Type Method Description void
caretUpdate(CaretEvent e)
void
highlight()
-
Constructor Details
-
MatchingHighlighter
-
-
Method Details
-
caretUpdate
- Specified by:
caretUpdate
in interfaceCaretListener
-
highlight
public void highlight()
-