On Fri, Oct 24, 2003 at 11:25:48AM +0000, Angus Leeming spake thusly: > Lars Gullik Bj�nnes wrote: > > | Please do not try do make me think you'd like something else than > > | begin == end for empty containers _again_... > > > > :-) > > Which would mean that we couldn't have a character/inset at > pos == endpos, but it will be perfectly acceptable to have > the cursor there.
Yes, if "having the cursor there" means being to the *left* of the referred position. Having the cursor at position 0 means: to the left of the first char, i.e. at the left margin. Having it at endpos means: to the left of the (non-existent) past-the-end character position, i.e. to the right of the last character of the row. > Moreover, a cursor at row(i).endpos is logically at the same point in > the document as a cursor at row(i+1).beginpos. Yes... but that is because the line breaks in a paragraph don't occupy any character position within the paragraph. They are just numbers in a list of positions. > Right? > > Angus (trying to get my head around the underlying concepts) Same here. - Martin
pgp00000.pgp
Description: PGP signature
