gtk_text_view_scroll_to_iter() does nothing
Submitted by Mike Cornelison
Link to original bug (#788101)
Description
code fragment: gtk_text_buffer_select_range(textBuff,&iter1,&iter2); gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(widget),&iter2,0,0,1,1);
The select range works correctly but the selected text is below the bottom edge of a scrolling text widget. The scroll request does nothing. I have played with the four numerical args to no avail. I also tried making a GtkTextMark and scrolling to that, but that also does nothing. No errors are produced. The text widget scrolls OK using the mouse wheel or scroll bars.
What can be behind this?
I looked for a forum but there seems to be nothing. If there is, please tell me.
Version: 3.22.x