On Fri, Jan 14, 2005 at 07:01:14AM +0900, oxman wrote:
> Hello,
> 
> i have a problem with the signal "insert-text", the signal was
> call before the text is insert, so i can't color it, how i can
> have a signal just after the text have been insert ?

Are you sure? insert-text should be getting called for every text
insertion--and it can't really be called until an insertion occurs.
If you are typing, every letter typed would cause this signal to emit.

Perhaps a code sample would help illustrate the issue.

You might try connecting to "changed" signal and then test the
buffer for words you want to color and then apply the coloring
at that time.

You could do the same with "insert-text" signal, and keep track
of letters typed that *could* be a word you'd want to color, and 
then when the word is complete go back and color the whole word.

> 
> thanks
> oxman.
> 

- Michael