Whoops, thanks Mikael. I'll report my question there!
--- Mikael Hallendal <[EMAIL PROTECTED]> 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 > > [email protected] > > > 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 _______________________________________________ gnome-devtools mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-devtools
