[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: GapContent fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: GapContent fix |
Date: |
Wed, 23 Nov 2005 12:04:51 +0000 |
I fixed the binarySearches in GapContent to really find the first
position in the case when there are multiple positions with the same
offset. The problem is that the binary search cannot make guarantees
which element is found in this case.
2005-11-23 Roman Kennke <address@hidden>
* javax/swing/text/GapContent.java
(getPostionsInRange): Fixed binarySearch to really find the first
position in this range.
(setPostionsInRange): Fixed binarySearch to really find the first
position in this range.
(adjustPostionsInRange): Fixed binarySearch to really find the
first
position in this range.
/Roman
patch.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: GapContent fix,
Roman Kennke <=