CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Anthony Balkissoon <[EMAIL PROTECTED]> 05/09/28 20:11:11
Modified files: . : ChangeLog javax/swing/text: AbstractDocument.java Log message: 2005-09-28 Anthony Balkissoon <[EMAIL PROTECTED]> * javax/swing/text/AbstractDocument.java: (BranchElement.getElementIndex): If there are no children, don't return -1, instead getStartOffset() will throw NPE. Also, if no child Element contains the specified offset, return the closest one. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5025&tr2=1.5026&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/AbstractDocument.java.diff?tr1=1.29&tr2=1.30&r1=text&r2=text