classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Re: FYI: Another DefaultStyledDocument fix


From: Lillian Angel
Subject: [cp-patches] Re: FYI: Another DefaultStyledDocument fix
Date: Fri, 13 Jan 2006 15:04:54 -0500

Another small fix.

2006-01-13  Lillian Angel  <address@hidden>

        * javax/swing/text/DefaultStyledDocument.java
        (createDefaultRoot): Removed FIXME.
        (setLogicalStyle): Added fireUndoableEditUpdate call and
        removed FIXME.


On Fri, 2006-01-13 at 14:34 -0500, Lillian Angel wrote:
> I changed the class so all the addEdit calls are all done after
> insertUpdate is called. This fixes some mauve regressions.
> 
> 2006-01-13  Lillian Angel  <address@hidden>
> 
>         * javax/swing/text/DefaultStyledDocument.java
>         (Edit): New inner class.
>         (changeUpdate): Changed addEdit call to add a new
>         instance of Edit to the edits Vector, so addEdits can
>         be done later.
>         (split): Likewise.
>         (insertParagraph): Likewise.
>         (insertFracture): Likewise.
>         (insertContentTag): Likewise.
>         (insert): Added loop to go through edits Vector and perform
>         addEdit on each object.
> 

Attachment: patch.diff
Description: Text Data


reply via email to

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