[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: DefaultStyledDocument fracture and split fixes
From: |
Lillian Angel |
Subject: |
[cp-patches] Patch: DefaultStyledDocument fracture and split fixes |
Date: |
Mon, 23 Jan 2006 15:27:04 -0500 |
More small fixes to DefaultStyledDocument. The ChangeLog explains it
all. There are still some mauve regressions... almost there!
2006-01-23 Lillian Angel <address@hidden>
* javax/swing/text/DefaultStyledDocument.java
(insertUpdate): Should only call createFracture with
StartTagType. Added check.
(insertContentTag): Should use the tags length for splitting.
Also, added a check to determine if current's start and end
offset are equal to the offset and endOffset. If so, only one
leaf element should be added.
(createFracture): Removed FIXME. This function is complete.
(split): Added calls to replace. Changed so the child is
added immediately to the paragraph. Prevents NPEs.
patch.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Patch: DefaultStyledDocument fracture and split fixes,
Lillian Angel <=