Quoting Randy Kramer <[EMAIL PROTECTED]>: > Tony, > > Thanks! There is a followup below. > > On Friday 14 March 2008 03:27 pm, Tony Balinski wrote: > > Quoting Randy Kramer <[EMAIL PROTECTED]>: > > > 1. Does a range of zero length "disappear"? (I'm hoping not.) > > > > It does disappear. A rangeset is really a set of character positions. > > The ranges within are conceptually just fully filled subsets between > > two positions, the ends of each range. A zero length range cannot > > contain any positions. > > Darn, except maybe I asked the question a little too ambiguously--is that > range removed from the rangeset or does it just no longer appear in the > document?
There are no characters in a zero-length range, so no reason to keep it in the rangeset. So a range that becomes zero-length is gone. If this is regarding folding, you won't be folding zero-length bits of text anyway. There would be nothing to fold. Tony -- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
