Re: scintilla bugfix

From: Date: Tue, 30 Oct 2001 15:12:40 +0000
Subject: Re: scintilla bugfix
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-152@lists.php.net to get a copy of this message
This is somewhat problematic -- what if people try to compile against an older version of Scintilla that doesn't have this fix yet? On Sun, 28 Oct 2001, Alan Knowles wrote: > > came across this bug with scintilla - I have sent the bugfix to micampe@f2s.com as well, > > the $scintilla->marker_add returns an integer (called a handle by the docs) > (which is essential if a class tree is to work!) > this is the snippet from scintilla.defs > > (method marker_add > (of-object Scintilla (Gtk)) > (c-name gtk_scintilla_marker_add) > (return-type int) <---- change to int > (parameter (type-and-name int line)) > (parameter (type-and-name int marker_number)) > ) > > > change to gtkscintilla.c > > int gtk_scintilla_marker_add(GtkScintilla *sci, int line, int marker_number) > { > return scintilla_send_message(SCINTILLA(sci->scintilla), > 2043, (int) line, (int) marker_number); > } > > regards > > Alan > > > -- > PHP-GTK Development Mailing List (http://gtk.php.net/) > To unsubscribe, e-mail: php-gtk-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -Andrei "Tomorrow the sun will rise. And who knows what the tide will bring?" - Tom Hanks, in "Cast Away"

« previous php.gtk.dev (#152) next »