classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: major DefaultStyledDocument.ElementBuffer improvements


From: Anthony Balkissoon
Subject: [cp-patches] FYI: major DefaultStyledDocument.ElementBuffer improvements
Date: Tue, 10 Jan 2006 16:49:41 -0500

More improvements to DefaultStyledBuffer and its ElementBuffer class.  I
also currently have 6 detailed tests that I'm running which will be
converted into Mauve tests to support these classes.  

Work still needs to be done, the ElementBuffer.insertUpdate rewrite is
not perfect yet, and DefaultStyledDocument.insertUpdate is correct (to
my knowledge) but incomplete.  

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

        * javax/swing/text/DefaultStyledDocument.java:
        (ElementBuffer.insertUpdate): Rewritten to properly handle start and
        end tags.
        (ElementBuffer.insertFracture): New method.
        (ElementBuffer.insertContentTag): Removed unnecessary case for 
        JoinFractureDirection - this only applies to start tags, not content
        tags.
        (insertUpdate): Corrected conditions for setting direction to 
        JoinNextDirection.

--Tony

Attachment: DefaultStyledInsertFracture.diff
Description: Text Data


reply via email to

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