[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/27934] New: DefaultStyledDocument remove leaves the document
From: |
audriusa at bluewin dot ch |
Subject: |
[Bug swing/27934] New: DefaultStyledDocument remove leaves the document in the broken state if insert(int, ElementSpec[]) was called more than once. |
Date: |
7 Jun 2006 16:33:19 -0000 |
The document content is frequently cleared by calling Document.remove(int,
int). If the content was entered with more than one call of insert(int,
ElementSpec[]), such content is displayed correctly, but the attempt to remove
it leaves the document in the broken state. After calling remove, the content
is displayed as empty, but the subsequent calls of insert(int, ElementSpec[])
does not cause the newly inserted components to appear.
As a result, the new HTMLDocument implementation I am currently about to start
writing correctly displays the HTML content after calling
JEditorPane.setText(HTML) first time, but does not display it if calling the
same method with the same content again.
--
Summary: DefaultStyledDocument remove leaves the document in the
broken state if insert(int, ElementSpec[]) was called
more than once.
Product: classpath
Version: 0.92
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: swing
AssignedTo: roman at kennke dot org
ReportedBy: audriusa at bluewin dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27934
- [Bug swing/27934] New: DefaultStyledDocument remove leaves the document in the broken state if insert(int, ElementSpec[]) was called more than once.,
audriusa at bluewin dot ch <=