classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: PlainView viewToModel implemented


From: Anthony Balkissoon
Subject: [cp-patches] FYI: PlainView viewToModel implemented
Date: Tue, 11 Oct 2005 14:37:59 -0400

This patch makes JTextComponents that are rendered with PlainView react
to Button1 presses by changing the caret position.  When clicking
between two characters the results are a little awkward due to
javax.swing.text.Utilities.getTabbedTextOffset problems (I'll file a bug
report shortly).  Also, a separate issue is that our Caret behaviour is
a little unpredictable, sometimes it paints, sometimes it doesn't,
sometimes it blinks, sometimes it doesn't.  I'll file a bug report for
this as well.

2005-10-11  Anthony Balkissoon  <address@hidden>

        * javax/swing/plaf/basic/BasicTextUI.java:
        (viewToModel): Implemented.
        * javax/swing/text/DefaultCaret.java:
        (mousePressed): Implemented.
        * javax/swing/text/PlainView.java:
        (viewToModel): Implemented.

--Tony

Attachment: DefaultCaretMousePressed.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]