classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: PlainDocument patch fixes recent regressions


From: Anthony Balkissoon
Subject: [cp-patches] FYI: PlainDocument patch fixes recent regressions
Date: Mon, 09 Jan 2006 16:56:30 -0500

PlainDocument.insertUpdate needs to explicitly handle the special case
of an insertion happening right after a newline.  Apparently this worked
by accident before, and a recent patch that Lillian and I made to
GapContent exposed the weakness.  This is fixed and committed now.

2006-01-09  Anthony Balkissoon  <address@hidden>

        * javax/swing/text/PlainDocument.java:
        (insertUpdate): Handle special case of an insertion immediately 
        following a newline character.

--Tony

Attachment: PlainDocumentInsertUpdateAfterNewline.diff
Description: Text Data


reply via email to

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