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/Utilitie...


From: Robert Schuster
Subject: [commit-cp] classpath ./ChangeLog javax/swing/text/Utilitie...
Date: Mon, 24 Apr 2006 14:59:10 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Robert Schuster <address@hidden>        06/04/24 14:59:10

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

Log message:
        2006-04-24  Robert Schuster  <address@hidden>
        
        * javax/swing/text/Utilities.java:
        (getBreakLocation): Introduced shift variable, added notes.
        * javax/swing/text/WrappedPlainView.java:
        (calculateBreakPosition): Decrease allocation area bounds by insets,
        added early return when allocation area is empty, provide start offset
        as argument.
        (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
        (WrappedPlainView.WrappedLine.paint): Added count variable, update
        numLines after loop.
        (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
        (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
        (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
        decreasing variable end by one, changed break condition in while-loop,
        added check for return value.
        (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
        allocation area is empty.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7197&tr2=1.7198&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/Utilities.java.diff?tr1=1.29&tr2=1.30&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/WrappedPlainView.java.diff?tr1=1.17&tr2=1.18&r1=text&r2=text




reply via email to

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