[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/24744] DefaultStyledDocument.ElementBuffer misfunction

From: roman at kennke dot org
Subject: [Bug swing/24744] DefaultStyledDocument.ElementBuffer misfunction
Date: 17 Nov 2005 21:35:00 -0000

------- Comment #1 from roman at kennke dot org  2005-11-17 21:35 -------
Created an attachment (id=10270)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10270&action=view)
Testcase that shows the problem

It's the line break that causes the problem. The line break ends up in
StyledDocument trying to create a new paragraph view. This has to fracture the
previous paragraph view. This fracturing adds to ElementChanges to the
DocumentEvent, of which only the last one is 'remembered' and passed on to the
views. When you run the testcase against CVS HEAD, you'll see the FlowView
breaking on this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]