GtkScintilla and scrolling

From: Date: Fri, 21 Nov 2003 23:34:51 +0000
Subject: GtkScintilla and scrolling
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4219@lists.php.net to get a copy of this message
If I create a GtkScintilla box 100x100 px, and then type in it more text than would fit, it wraps as expected, but the scroll bars don't follow the cursor, allowing you to type right off the bottom of the widget! The text is there, and you can scroll down to see what you were doing, but is there any way to make the scrollbars follow the cursor? Here's some simple, sample code of what I'm doing... <? /* run this to demonstrate GtkScintilla limitations - when the window pops up, just type in a bunch of stuff. */ $s=&New GtkScintilla(); $s->Set_Wrap_Mode(true); $s->Set_Margin_Width_N(1,0); $s->Set_Usize(100, 100); $s->Show(); $win=&New GtkWindow(); $win->Add($s); $win->Show(); ?> -Ben

« previous php.gtk.general (#4219) next »