[Gtk-sharp-list] Re: [daemon@gigolo.li: [Mono-list] TextIter, TextBuffer issue]

Charles Iliya Krempeaux charles@reptile.ca
25 Feb 2003 10:09:32 -0800


Hello,

On Tue, 2003-02-25 at 09:44, Charles Iliya Krempeaux wrote:

[...]

> You should get your Gtk.TextIter's from a Gtk.TextBuff.  For example,
> 
>     Gtk.TextBuff buff;
> 
>     // ...
> 
>     Gtk.TextIter iter;
> 
>     // ...
> 
>     int offset = 3;
>     buff.GetIterAtOffset(out iter, offset);
> 
> Or something like that.
> 
> Note, I'm going to be creating a patch that will let you get a
> Gtk.TextIter with something like:
> 
>     iter = buff.ObtainIterAtOffset(offset);
> 

Sorry, that should have been "Gtk.TextBuffer".  (Not "Gtk.TextBuff".)


See ya

-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting & Services    604-REPTILE    http://www.reptile.ca/