From 220a20cfdecbd59c59258bb392b213508c68a748 Mon Sep 17 00:00:00 2001 From: Lillian Angel Date: Fri, 27 Jan 2006 19:37:59 +0000 Subject: 2006-01-27 Lillian Angel * javax/swing/text/DefaultStyledDocument.java (insert): Moved this loop to insertUpdate. (insertUpdate): Likewise. Fixed variable names. Incremented pos if new paragraph is inserted. (split): Changed edits to use replace instead. Prevents assertion errors. (insertFirstContentTag): Removed else. (insertContentTag): Implemented else for JoinNextDirection. (createFracture): Fixed up code, still not fully complete. (insertFracture): Fixed to use return value from recreateAfterFracture. (recreateAfterFracture): Changed to return an array of the elements to be added. This prevents an assertion error. (contains): New function checks if an element is already in the Vector. Vector's contain function was not enough to use. (addAddedElement): Changed to use new contains function. (addAddedElements): Likewise. (addRemovedElement): Likewise. (addRemovedElements): Likewise. --- ChangeLog | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a8c8cdb4a..5a38bd736 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,7 +25,13 @@ recreateAfterFracture. (recreateAfterFracture): Changed to return an array of the elements to be added. This prevents an assertion error. - + (contains): New function checks if an element is already in + the Vector. Vector's contain function was not enough to use. + (addAddedElement): Changed to use new contains function. + (addAddedElements): Likewise. + (addRemovedElement): Likewise. + (addRemovedElements): Likewise. + 2006-01-27 Audrius Meskauskas PR 25520 -- cgit v1.2.1