Re: TextIter and forward_search

On Thu, 2005-01-06 at 19:43 +0000, rob page wrote:
> How can I properly construct a null TextIter for use with forward_search
> "limit: 	Bound for the search, or 0 for the end of the buffer."
> from:

That's a bug. I'll add an overload in 2.5/2.6 and correct the

> Currently I'm constructing it from the c object but this really isn't ideal.

I guess you should use end() instead, to get the same effect.

> also, from the same function is there any way to set no flags, i've
> tried setting this as 0 to no avail.

I don't know whether 0 has any meaning. What do you expect?

Murray Cumming
murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]