CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Anthony Balkissoon <[EMAIL PROTECTED]>  05/12/22 20:02:59

Modified files:
        .              : ChangeLog 
        javax/swing/text: DefaultStyledDocument.java 

Log message:
        2005-12-22  Anthony Balkissoon  <[EMAIL PROTECTED]>
        
        * javax/swing/text/DefaultStyledDocument.java:
        (ElementBuffer.insertContentTag): Get the attributes from the tag.
        Return early if direction is JoinNextDirection but there is no next
        Element.
        (createDefaultRoot): Don't call createBranchElement here just
        instantiate a new BranchElement.
        (insertUpdate): Removed unneeded fields newElement, newElement2.  When
        building the buffer ElementSpecs, no need to check each time if we
        should join to the previous or next Element, just check the first and
        last ElementSpecs after the buffer has been completely built.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5887&tr2=1.5888&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/DefaultStyledDocument.java.diff?tr1=1.23&tr2=1.24&r1=text&r2=text


Reply via email to