public class PairsMarker extends java.lang.Object implements javax.swing.event.CaretListener, SyntaxComponent, java.beans.PropertyChangeListener
SyntaxComponent.Status| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_COLOR |
| Constructor and Description |
|---|
PairsMarker() |
| Modifier and Type | Method and Description |
|---|---|
void |
caretUpdate(javax.swing.event.CaretEvent e) |
void |
config(Configuration config)
Configure the component using the given properties.
|
void |
deinstall(javax.swing.JEditorPane editor)
Called when the component is to be removed from the editor
|
void |
install(javax.swing.JEditorPane editor)
Called to install the component on an editor
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
removeMarkers()
Remove all the highlights from the editor pane.
|
public static final java.lang.String PROPERTY_COLOR
public void caretUpdate(javax.swing.event.CaretEvent e)
caretUpdate in interface javax.swing.event.CaretListenerpublic void removeMarkers()
public void config(Configuration config)
SyntaxComponentconfig in interface SyntaxComponentconfig - configuration datapublic void install(javax.swing.JEditorPane editor)
SyntaxComponentinstall in interface SyntaxComponentpublic void deinstall(javax.swing.JEditorPane editor)
SyntaxComponentdeinstall in interface SyntaxComponentpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListener