Searching a gtk text view

2011-07-21 Thread Neil Munro
Hi all I am trying to search a text view and I think I understand the theory but I can't seem to get my code working in practice. What I have come to understand is that I create a textmark object and try to search for the presence of the text mark in the buffer, if it's found then create

Pango-CRITICAL **: pango_layout_get_cursor_pos: assertion `index = 0 index = layout-length' failed

2011-07-21 Thread Claude Simon
hello to all the guys here, I am new to gtk and I am doing a GUI for a program with it. All is ok, but there is one thing i don't understand. I have a call back entered when the event changed is triggered for a GtkEntry widget. When the user is deleting the last character with a backspace he

Re: Pango-CRITICAL **: pango_layout_get_cursor_pos: assertion `index = 0 index = layout-length' failed

2011-07-21 Thread Bill Czermak
If you can post a minimal piece of code that demonstrates the error, then it makes it easier for people to help you. Also in cutting back to minimal code, you may well find the problem for yourself. Rgds Bill On 22/07/11 01:08, Claude Simon wrote: hello to all the guys here, I am new to