CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]> 05/07/29 10:49:53
Modified files: . : ChangeLog Log message: 2005-07-29 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/AbstractDocument.java (createPosition): Delegate this call to the actual Content. (LeafElement.constructor): Manage the start and end marks via Position objects. (LeafElement.getEndOffset): Use Position instead of static mark. (LeafElement.getStartOffset): Use Position instead of static mark. * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.change): New method. Performs structural changes in the element tree that are necessary in order to change text attributes. (ElementBuffer.changeUpdate): New method. This is the method for change(). (ElementBuffer.split): New package-private method. Splits an element into two elements. (setCharacterAttributes): Implemented this method. This sets character attributes on a piece of content. * javax/swing/text/GapContent.java (GapContentPosition): New inner class. Implements the Position interface for GapContent. (constructor): Initialize the list that stores the Position objects. (createPosition): Reimplemented. Now uses the GapContentPosition class. (shiftEnd): Update the stored positions. (shiftGap): Update the stored positions. * javax/swing/text/LabelView.java: New class. * javax/swing/text/PlainDocument.java (removeUpdate): Don't update the element positions, this should now be handled by the Positions. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4283&tr2=1.4284&r1=text&r2=text _______________________________________________ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath