[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] AbstractDocument fixes/updates
From: |
Roman Kennke |
Subject: |
[cp-patches] AbstractDocument fixes/updates |
Date: |
Thu, 25 Aug 2005 20:48:45 +0200 |
Here come some bugfixes and additions to
javax.swing.text.AbstractDocument.
2005-08-25 Roman Kennke <address@hidden>
* javax/swing/text/AbstractDocument.java
(AbstractElement.dumpElement): Throw AssertionError when
a BadLocationException is encountered.
(BranchElement.getElementIndex): Return -1 if there is no child
element. Return elementCount - 1 if the requested offset is
after the child elements of that element.
(BranchElement.getEndOffset): Throw NPE if this element has no
children.
(BranchElement.getStartOffset): Throw NPE if this element has
no children.
(DefaultDocumentEvent.addEdit): Implemented.
(DefaultDocumentEvent.getChange): Implemented.
/Roman
AbstractDocument.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] AbstractDocument fixes/updates,
Roman Kennke <=