Re: [gedit-list] gtk_source_buffer_iter_has_context_class problems



Chuchi Perriman wrote:
> Hi!!
>
> I'm having problems using:
>
> gtk_source_buffer_iter_has_context_class(buffer, &copy, "char")
>
> When I use gtk_source_buffer_iter_has_context_class(buffer, &copy,
> "string"), gtksourceview works fine ("comment" context too).
>
> I'm trying to get a character like '(' or '\n' etc. but I cannot fo it :(
I don't know. If you added the context classes in the lang file, it
should work just like for string and comment...
>
> I've looked in the .lang file and I have tried with "char" and
> "character" context name but does't work.
>
> Can you help me?
>
> Thanks!!!
>
> PD: gtk_source_buffer_iter_has_context_class works if highlighting is
> disabled?
Nope
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> http://mail.gnome.org/mailman/listinfo/gedit-list
>   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]