CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Lillian Angel <[EMAIL PROTECTED]> 06/01/23 21:51:37
Modified files: . : ChangeLog javax/swing/text: DefaultStyledDocument.java Log message: 2006-01-23 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/text/DefaultStyledDocument.java (insertUpdate): Should only call createFracture with StartTagType. Added check. (insertContentTag): Should use the tags length for splitting. Also, added a check to determine if current's start and end offset are equal to the offset and endOffset. If so, only one leaf element should be added. (createFracture): Removed FIXME. This function is complete. (split): Added calls to replace. Changed so the child is added immediately to the paragraph. Prevents NPEs. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6153&tr2=1.6154&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/DefaultStyledDocument.java.diff?tr1=1.45&tr2=1.46&r1=text&r2=text