Re: keeping track of specific characters in a GtkTextBuffer
- From: Adam Tertial <adamtertial yahoo co uk>
- To: Mikael Hallendal <micke imendio com>
- Cc: gnome-devtools gnome org
- Subject: Re: keeping track of specific characters in a GtkTextBuffer
- Date: Wed, 21 Feb 2007 16:41:58 +0000 (GMT)
Whoops, thanks Mikael. I'll report my question there!
--- Mikael Hallendal <micke imendio com> wrote:
> 20 feb 2007 kl. 22.09 skrev Adam Tertial:
>
> Hi,
>
> Even though there are many skilled Gtk+ application
> developers on
> this list there is a list where you might find more
> help with this
> kind of questions called gtk-app-deve-list [1].
>
> Best Regards,
> Mikael Hallendal
>
> [1]
>
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
> > Hi,
> >
> > I need to be able keep track of the location of
> > specific characters in a GtkTextBuffer, and I was
> > wondering what the most efficient way of doing
> that
> > was. Is it possible to have pointers to characters
> in
> > the buffer? I had thought about inserting a
> > GtkTextMarker whenever the user types the
> character
> > I'm interested in, but the documentation says: "If
> the
> > text surrounding the mark is deleted, the mark
> remains
> > in the position the text once occupied", and I
> would
> > want the marks to be deleted along with the text.
> If
> > that's the right approach, I suppose when the user
> > deletes any text I could check all the marks to
> see if
> > they were in that text and then delete them
> myself,
> > but that seems a bit inefficient to me.
> >
> > All and any ideas are welcome! :)
> >
> >
> >
> >
> >
>
___________________________________________________________
> > What kind of emailer are you? Find out today - get
> a free analysis
> > of your email personality. Take the quiz at the
> Yahoo! Mail
> > Championship.
> >
>
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
> > _______________________________________________
> > gnome-devtools mailing list
> > gnome-devtools gnome org
> >
>
http://mail.gnome.org/mailman/listinfo/gnome-devtools
>
>
> --
> Imendio AB, http://www.imendio.com
>
>
>
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]