classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: Fixed DefaultStyledDocument.getParagraphElement


From: Roman Kennke
Subject: [cp-patches] FYI: Fixed DefaultStyledDocument.getParagraphElement
Date: Tue, 20 Sep 2005 16:56:29 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

The method DefaultStyledDocument.getParagraphElement must always return an
element and not null. If the position argument is outside the bounds of
the document, then the closest element should be returned (according to
the specs). This is fixed.

2005-09-20  Roman Kennke  <address@hidden>

        * javax/swing/text/DefaultStyledDocument.java
        (getParagraphElement): If the position argument is out of the
        document's bounds, then the closest paragraph element must be
        returned. This is fixed.

/Roman

Attachment: DefaultStyledDocument.diff
Description: Text Data


reply via email to

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