commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ChangeLog javax/swing/text/AbstractDo...


From: Roman Kennke
Subject: [commit-cp] classpath ChangeLog javax/swing/text/AbstractDo...
Date: Thu, 27 Jul 2006 15:39:42 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/07/27 15:39:42

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

Log message:
        2006-07-27  Roman Kennke  <address@hidden>
        
                * javax/swing/text/AbstractDocument.java
                (documentCV): Made field private.
                (bypass): Made field private.
                (bidiRoot): New field.
                (AbstractDocument): Initialize bidiRoot.
                (getBidiRootElement): Return bidiRoot.
                (getRootElements): Adjusted to also return the bidiRoot element.
                (BranchElement.startOffset): Removed unneeded field.
                (BranchElement.endOffset): Removed unneeded field.
                (BranchElement.BranchElement): Removed unneeded fields.
                (BranchElement.getEndOffset): Don't explicitly throw NPE here. 
This is
                done automatically when there's no element left in the array.
                (BranchElement.getStartOffset): Likewise.
                (BranchElement.replace): Reordered calculations to avoid double
                calculations.
                (removeImpl): Silently ignore requests with length <= 0.
                * javax/swing/text/GapContent.java
                (createPosition): Removed explicit check for correct offset.
                This class can deal with offsets outside the document.
                (shiftEnd): Update all positions, even those outside the
                document.
                (adjustPositionsInRange): Fixed to also adjust positions outside
                the document boundary.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8248&r2=1.8249
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/AbstractDocument.java?cvsroot=classpath&r1=1.59&r2=1.60
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/GapContent.java?cvsroot=classpath&r1=1.53&r2=1.54




reply via email to

[Prev in Thread] Current Thread [Next in Thread]