Re: textview scrolling fails

2006-12-14 Thread control H
Thanks a lot Michael, that turned out to be the problem! Man did I spent much time on this problem. Wonder why I used the _add_with_viewport() call anyway. Anyway, thanks a lot. ^H On 12/14/06, Michael 'Mickey' Lauer <[EMAIL PROTECTED]> wrote: > control H wrote: > > This search does find what I

Re: textview scrolling fails

2006-12-14 Thread Michael 'Mickey' Lauer
control H wrote: > This search does find what I'm searching: on the console the "match" > is printed, and also the tag is aplied to the textbuffer at the found > section. But no scrolling occurs. Just a shot in the dark, but I once had the same problem and it turned out I accidantly added the Tree

textview scrolling fails

2006-12-14 Thread control H
Hi, my call to gtk_text_view_scroll_to_iter fails and I really can't figure out why. Here's some actual code I use: if(gtk_text_iter_forward_search(&iter, text, 0, &mstart, &mend, NULL)){ printf("match\n"); gtk_text_buffer_apply_tag_by_name(tb,"found", &mstart, &mend); last_po