removeHighlightText(highlighter);
if (getText().length() > 0) {
try {
int position = getPosition(line, lastIndex);
int positionEnd = position + size;
highlighter.addHighlight(position, positionEnd, painter);
setToolTipPosition(line, message);
repaintPane();
}
catch (BadLocationException e) {
logObj.warn("Error: ", e);