CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]> 05/10/13 12:51:00
Modified files: . : ChangeLog javax/swing/text: JTextComponent.java PlainView.java javax/swing/plaf/basic: BasicTextUI.java Log message: 2005-10-13 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/JTextComponent.java (replaceSelection): Removed debug statement. * javax/swing/text/PlainView.java (updateDamage): Removed unnecessary repaint call. (damageLineRange): Trigger repaint over the whole width of the text component at the requested line range. Otherwise we might not clear deleted text. * javax/swing/plaf/basic/BasicTextUI.java (DocumentHandler.changedUpdate): Use visibleEditorRect as initial allocation. (DocumentHandler.removeUpdate): Use visibleEditorRect as initial allocation. (DocumentHandler.insertUpdate): Use visibleEditorRect as initial allocation. (getVisibleEditorRect): If component width and height values are invalid (==uninitialized), return a Rectangle of (0,0,0,0) instead of null. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5208&tr2=1.5209&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/JTextComponent.java.diff?tr1=1.41&tr2=1.42&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/PlainView.java.diff?tr1=1.20&tr2=1.21&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTextUI.java.diff?tr1=1.45&tr2=1.46&r1=text&r2=text