"apply-tag" callback calls gtk_text_buffer_apply_tag() which triggers new "apply-tag" signal and so on...

2007-04-26 Thread Adam Tertial
Hi I have some code which needs to call gtk_text_buffer_apply_tag() when it receives a "apply-tag" signal. Calling gtk_text_buffer_apply_tag() in turn generates a new "apply-tag" signal and the program loops forever. I'm pretty new to GTK so I may be missing something obvious. Can anyone think of

Re: signal emitted when font, tab width changes in GtkSourceView/GtkTextView?

2007-04-24 Thread Adam Tertial
--- David Neèas (Yeti) <[EMAIL PROTECTED]> wrote: > On Tue, Apr 24, 2007 at 10:02:19PM +0100, Adam > Tertial wrote: > > I'm wondering if a signal is emitted when a user > > changes the font, tab width etc in a > > GtkSourceView/GtkTextView object. > >

signal emitted when font, tab width changes in GtkSourceView/GtkTextView?

2007-04-24 Thread Adam Tertial
Hi I'm wondering if a signal is emitted when a user changes the font, tab width etc in a GtkSourceView/GtkTextView object. Any ideas? Thanks ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http:/

Re: keeping track of specific characters in a GtkTextBuffer

2007-02-21 Thread Adam Tertial
--- [EMAIL PROTECTED] wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, Feb 21, 2007 at 04:44:27PM +0000, Adam > Tertial wrote: > > Hi, > > > > I need to be able to keep track of the location of > > specific characters in a GtkTextBuffer

keeping track of specific characters in a GtkTextBuffer

2007-02-21 Thread Adam Tertial
Hi, I need to be able to 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 c