CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Anthony Balkissoon <[EMAIL PROTECTED]> 05/10/12 17:35:49
Modified files: . : ChangeLog javax/swing/text: PlainView.java Log message: 2005-10-12 Anthony Balkissoon <[EMAIL PROTECTED]> * javax/swing/text/PlainView.java: (insertOrRemoveUpdate): Renamed this method to udpateDamage because changedUpdate calls it as well. (updateDamage): This method used to be named insertOrRemoveDamage. Changes are: If no children were added or removed, repaint only the area containing the line that was changed. Also, if children were added or removed, call repaint on the entire container. Also fixed a serious logic error in the bounds for Document.getText(). (insertUpdate): Changed call from insertOrRemoveUpdate to updateDamage and removed repaint call (this is done in updateDamage). (removeUpdate): Likewise. (changedUpdate): Implemented. (damageLineRange): Implemented. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5197&tr2=1.5198&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/PlainView.java.diff?tr1=1.19&tr2=1.20&r1=text&r2=text