[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: DefaultStyledDocument additions
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: DefaultStyledDocument additions |
Date: |
Tue, 13 Sep 2005 12:46:13 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.4 |
Hi,
I added lots of stuff to javax.swing.text.DefaultStyledDocument.
2005-09-13 Roman Kennke <address@hidden>
* javax/swing/text/DefaultStyledDocument.java
(ElementSpec): New inner class.
(ElementBuffer.change): Also store the DefaultDocumentEvent.
(ElementBuffer.split): Also update the document event.
(ElementBuffer.insert): New method.
(ElementBuffer.insertUpdate): New method.
(ElementBuffer.insertStartTag): New method.
(ElementBuffer.insertEndTag): New method.
(ElementBuffer.insertContentTag): New method.
(SectionElement): New inner class.
(createDefaultRoot): Return SectionElement instead of BranchElement.
(getParagraphElement): Optimized access to paragraph element.
(setCharacterAttributes): Fire changedUpdate after modification.
(insertUpdate): New method.
/Roman
DefaultStyledDocument.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: DefaultStyledDocument additions,
Roman Kennke <=