Package groovy.console.ui.text
Class MatchingHighlighter
java.lang.Object
groovy.console.ui.text.MatchingHighlighter
- All Implemented Interfaces:
- java.util.EventListener,- javax.swing.event.CaretListener
public class MatchingHighlighter
extends java.lang.Object
implements javax.swing.event.CaretListener
Represents highlighter to highlight matched parentheses, brackets and curly braces when caret touching them
- Since:
- 3.0.0
- 
Constructor SummaryConstructors Constructor Description MatchingHighlighter(SmartDocumentFilter smartDocumentFilter, javax.swing.JTextPane textEditor)
- 
Method SummaryModifier and Type Method Description voidcaretUpdate(javax.swing.event.CaretEvent e)voidhighlight()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
MatchingHighlighterpublic MatchingHighlighter(SmartDocumentFilter smartDocumentFilter, javax.swing.JTextPane textEditor)
 
- 
- 
Method Details- 
caretUpdatepublic void caretUpdate(javax.swing.event.CaretEvent e)- Specified by:
- caretUpdatein interface- javax.swing.event.CaretListener
 
- 
highlightpublic void highlight()
 
-