commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] classpath ./ChangeLog javax/swing/text/JTextCom...


From: Anthony Balkissoon
Subject: [commit-cp] classpath ./ChangeLog javax/swing/text/JTextCom...
Date: Thu, 03 Nov 2005 14:40:37 -0500

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Anthony Balkissoon <address@hidden>     05/11/03 19:40:37

Modified files:
        .              : ChangeLog 
        javax/swing/text: JTextComponent.java WrappedPlainView.java 

Log message:
        2005-11-03  Anthony Balkissoon  <address@hidden>
        
        * javax/swing/text/JTextComponent.java:
        (select): The end index cannot be smaller than the start index, changed
        Math.max(end, 0) to Math.max(end, start).
        * javax/swing/text/WrappedPlainView.java:
        (selectionStart): New package private field.
        (selectionEnd): Likewise.
        (drawLine): Implemented to call drawUnselectedText and drawSelectedText
        on the appropriate parts of the line.  Before it just drew the whole
        line with drawUnselectedText.
        (paint): Store the start and end of the selection.
        (WrappedLine.paint): Set the selected color to Color.WHITE.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5452&tr2=1.5453&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/JTextComponent.java.diff?tr1=1.44&tr2=1.45&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/WrappedPlainView.java.diff?tr1=1.5&tr2=1.6&r1=text&r2=text





reply via email to

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