CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Lillian Angel <[EMAIL PROTECTED]> 06/01/30 21:26:25
Modified files:
. : ChangeLog
javax/swing/text: DefaultStyledDocument.java
Log message:
2006-01-30 Lillian Angel <[EMAIL PROTECTED]>
* javax/swing/text/DefaultStyledDocument.java:
Added new fields.
(insert): Initialized fields. Removed call to addEdit,
and created ElementEdit instead.
(insertUpdate): Added check for fracturing. If the
fracturing was not successful, we should push the
last element back on the stack.
(insertParagraph): Fixed call to getEditForParagraphAndIndex.
Also, changed replace calls to use Edit.
(insertFirstContentTag): Removed unneeded check and fixed call
to recreateLeaves.
(insertContent): Fixed check to use new fields. Added code in
to check if leaves overlap.
(createFracture): Fixed call to recreateLeaves.
(recreateLeaves): Fixed code and cleaned it up a bit.
(insertFracture): Set fracNotCreated field.
(addEdit): Removed, this method is not needed.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6225&tr2=1.6226&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/DefaultStyledDocument.java.diff?tr1=1.50&tr2=1.51&r1=text&r2=text