CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Anthony Balkissoon <[EMAIL PROTECTED]>  05/11/15 19:45:46

Modified files:
        .              : ChangeLog 
        javax/swing/text: AbstractDocument.java PlainDocument.java 

Log message:
        2005-11-14  Anthony Balkissoon  <[EMAIL PROTECTED]>
        
        * javax/swing/text/AbstractDocument.java:
        (remove): Do not set up an ElementEdit here, this is done in the
        Document implementation's removeUpdate method.
        * javax/swing/text/PlainDocument.java:
        (insertUpdate): Do not call reindex, instead, reindex the lines here
        directly but only starting from the offset of the newly inserted text.
        Also, if entire lines have been added or removed, set up an ElementEdit
        and add it to the DocumentEvent.  Chain BadLocationException to an
        AssertionError and throw it in the unexpected case.
        (removeUpdate): If entire lines have been added or removed, set up an
        ElementEdit and add it to the DocumentEvent.  Chain
        BadLocationException to an AssertionError and throw it in the
        unexpected case.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5597&tr2=1.5598&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/AbstractDocument.java.diff?tr1=1.37&tr2=1.38&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/PlainDocument.java.diff?tr1=1.15&tr2=1.16&r1=text&r2=text



Reply via email to