CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Lillian Angel <[EMAIL PROTECTED]> 06/02/03 16:20:40
Modified files:
. : ChangeLog
javax/swing/text: DefaultStyledDocument.java
Log message:
2006-02-03 Lillian Angel <[EMAIL PROTECTED]>
* javax/swing/text/DefaultStyledDocument.java
(changeUpdate): Cleaned up code.
(split): Likewise.
(insertUpdate): Set offset to be equal to pos after
insertContentTag call.
(insertContentTag): If paragraph has no children, should use
replace instead of Edit.
(insertFracture): Moved around code to prevent any exception. Also,
left side of tree should not be recreated if it has already been
edited. In that case, we should only be creating a new right branch
when fracturing.
(getEditForParagraphAndIndex): No need to check index. We should
use the same edit for each paragraph.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6258&tr2=1.6259&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/DefaultStyledDocument.java.diff?tr1=1.57&tr2=1.58&r1=text&r2=text