CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Robert Schuster <[EMAIL PROTECTED]> 06/05/03 18:11:05
Modified files: javax/swing/plaf/basic: BasicTextUI.java javax/swing/text: DefaultCaret.java WrappedPlainView.java . : ChangeLog Log message: Fixes PR #27393. 2006-05-03 Robert Schuster <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicTextUI.java: (changeUpdate): Added note. (removeUpdate): Dito. (insertUpdate): Dito. (damageRange): Added if-block to return early. (modelToView): Added check of getVisibleEditorRect's return value. (getVisibleEditorRect): Return null instead of empty rectangle. * javax/swing/text/DefaultCaret.java: (clearHighlight): Removed if-clause to create a highlight entry if it did not exist before. * javax/swing/text/WrappedPlainView.java: (WrappedLine.modelToView): Throw exception if allocation area is empty, removed 2nd part of if-expression. (WrappedLine.updateDamage): Added more documentation, added check whether allocation area rectangle is null. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTextUI.java.diff?tr1=1.81&tr2=1.82&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/DefaultCaret.java.diff?tr1=1.39&tr2=1.40&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/WrappedPlainView.java.diff?tr1=1.20&tr2=1.21&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7273&tr2=1.7274&r1=text&r2=text