adalogo.gui.editor

Class LineHighlightHandler


public class LineHighlightHandler
extends java.lang.Object

simple line highlighter.

original code idea from weebib. but there is not much left of it.
http://forum.java.sun.com/thread.jspa?threadID=589109

Constructor Summary

LineHighlightHandler(JTextComponent textComponent)

Method Summary

void
addHighlight(int line)
highlight the line line.
void
removeHighlight()
remove the last highlight.

Constructor Details

LineHighlightHandler

public LineHighlightHandler(JTextComponent textComponent)

Method Details

addHighlight

public void addHighlight(int line)
highlight the line line.


removeHighlight

public void removeHighlight()
remove the last highlight.