[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: GapContent fixes
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: GapContent fixes |
Date: |
Wed, 14 Sep 2005 01:26:39 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.4 |
This is the next big patch in the javax.swing.text series ;-) I added
mauve test to back most of the modifications, since GapContent seems to be
a little fragile.
2005-09-14 Roman Kennke <address@hidden>
* javax/swing/text/GapContent.java
(GapContentPosition.getOffset): Made assertion more speaking.
(GapContent): Modified initialization for compatibility with JDK.
(shiftEnd): Update marks prior to modification of the content.
Use new getPositionsInRange method.
(shiftGap): Use new getPositionsInRange method. Tweaked to corectly
update the marks.
(shiftGapStartDown): New method.
(shiftGapEndUp): New method.
(replace): Use shiftGapEndUp. Modified resizing offset.
(getGapStart): New method.
(getGapEnd): New method.
(getPositionsInRange): New method.
/Roman
GapContent.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: GapContent fixes,
Roman Kennke <=