The LineHighlightPlugin is an editor plugin which applies a background highlight to the current caret line. This background highlight will always track the current line so if the user applies edits or moves the caret, the line highlight will move with it. Note that the line highlight is currently disabled by default.

caretUpdate(javax.swing.event.CaretEvent event)
Called when the caret position is updated.

void

changedUpdate(javax.swing.event.DocumentEvent event)
Gives notification that an attribute or set of attributes changed.

void

deinstall(BasicEditorPane editor)
Called when the plugin is being removed from the BasicEditorPane (for example when the editor is closed.) This is used to notify plugins that they should unregister any listeners that were attached.

void

insertUpdate(javax.swing.event.DocumentEvent event)
Gives notification that there was an insert into the document.