CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Robert Schuster <[EMAIL PROTECTED]> 06/04/24 14:59:10
Modified files: . : ChangeLog javax/swing/text: Utilities.java WrappedPlainView.java Log message: 2006-04-24 Robert Schuster <[EMAIL PROTECTED]> * 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