[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/27934] DefaultStyledDocument remove leaves the document in th
From: |
audriusa at bluewin dot ch |
Subject: |
[Bug swing/27934] DefaultStyledDocument remove leaves the document in the broken state if insert(int, ElementSpec[]) was called more than once. |
Date: |
7 Jun 2006 16:36:53 -0000 |
------- Comment #1 from audriusa at bluewin dot ch 2006-06-07 16:36 -------
Created an attachment (id=11629)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11629&action=view)
The test application
This application, if started, inserts some text with two calls of doc.insert,
then clears the document with Document.remove and then inserts the other text.
With Sun's implementation, the most recently inserted text is visible. Our
implementation shows the empty content. However if doc.insert of the text being
replaced is called only ONCE, our implementation also works correctly,
displaying the new, replacing text.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27934