[gui] [PATCH] Fix GtkTextComponentPeer's setCaretPosition()
David Jee
djee@redhat.com
Tue Jul 6 19:40:00 GMT 2004
Hello,
I committed the following patch to the java-gui-branch. The patch fixes
the native method setCaretPosition() in GtkTextComponentPeer, so that
when you set a new caret position, the GtkTextView scrolls itself so
that new caret position is visible on screen.
-David Jee
2004-07-06 David Jee <djee@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
(setCaretPosition): Scroll the text view so the new caret position
is visible on screen.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SetCaretPosition.patch
Type: text/x-patch
Size: 1561 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040706/2bc3a559/attachment.bin>
More information about the Java-patches
mailing list