Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Corrects no display of cursor bug on OSX

open
nobody
None
5
2002-11-21
2002-11-21
Anonymous
No

Under OS X jbvi does not display the cursor. This was
fixed by calling the super class, EditorCaret, methods
paint and destroy in JBViCaret. New jar file is attached.

In file JBViCaret.java change the following methods:

protected synchronized void damage(Rectangle r) {
super.damage(r);
if(viDelegate.damage(this, r)) {
repaint();
}
}

public void paint(Graphics g) {
super.paint(g);
viDelegate.paint(g, getComponent());
}

Mark Burge burgemar@mail.armstrong.edu

Discussion