Re: [gtkmm] Do the TextBuffer operations really modify the iterators?
- From: Murray Cumming <murrayc usa net>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: GTKmm Mailing List <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Do the TextBuffer operations really modify the iterators?
- Date: 07 Aug 2002 08:47:03 +0100
On Tue, 2002-08-06 at 22:00, ERDI Gergo wrote:
> Lots of TextBuffer operations have signatures like this:
>
> void delete_text(iterator& start, iterator& end);
>
> Do these really return something in start/end? It's very inconvenient that
> I can't just write
> buffer->delete_text (buffer->begin (), buffer->end ());
> If the signature was
>
> void delete_text (const iterator &begin, const iterator &end);
>
> it would work. So the real question is -- is this all deliberate (i.e.
> is begin/end modified to some meaningful value when the methods return)
> or just a typo?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]