RE: scrolling logs in GtkTextView to the end (Re: scrolling windo ws)



From: Havoc Pennington [mailto:hp redhat com]

The same docs should say to use scroll_to_mark
instead... e.g. scroll_to_mark() passing in the "insert" mark should
reliably scroll to the cursor. If not file a bug with a test case...


While this may be true, I still think that if you insert text, the iter
should be updated because it is quite likely that you will want to scroll to
the end of the text when the text buffer has changed.

How many applications use a text box with a scroll and DONT update the view
to the last thing entered... not many i would say.

Regards,
Martyn




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