[gedit-list] gtk_source_buffer_iter_has_context_class problems



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'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?




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