[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath ChangeLog
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath ChangeLog |
Date: |
Fri, 29 Jul 2005 06:49:53 -0400 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <address@hidden> 05/07/29 10:49:53
Modified files:
. : ChangeLog
Log message:
2005-07-29 Roman Kennke <address@hidden>
* 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-cp] classpath ChangeLog, Chris Burdess, 2005/07/06
- [commit-cp] classpath ChangeLog, Aaron Luchko, 2005/07/07
- [commit-cp] classpath ChangeLog, Roman Kennke, 2005/07/11
- [commit-cp] classpath ChangeLog, Roman Kennke, 2005/07/12
- [commit-cp] classpath ChangeLog, Roman Kennke, 2005/07/22
- [commit-cp] classpath ChangeLog, Audrius Meškauskas, 2005/07/23
- [commit-cp] classpath ChangeLog,
Roman Kennke <=