Re: iterator resolution
- From: Karl Nelson <kenelson ece ucdavis edu>
- To: gtk-devel-list redhat com
- cc: kenelson sequoia ece ucdavis edu
- Subject: Re: iterator resolution
- Date: Sat, 04 Mar 2000 14:34:19 -0800
> >
> > One thing I like about right gravity is that it makes it clearer that
> > this is magic _insert() function behavior, rather than standard
> > iterator behavior.
>
> I'm definitely in favor of "insert leaves iter after inserted string" -
> after all, inserting a series of strings into a buffer in forward
> order is a common operation, inserting a sequence of strings into
> a buffer in reverse order, a rare operation.
True, but since going back in the buffer is expensive it might
be better just to leave it there and give an offset which can be
used to move the iterator to the end. (Other than the expensive
back traversing, I like right as well.)
--Karl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]