If you use the GtkScintilla-0.8 available from the
download/install section here, then by changing this in
php-gtk/ext/scintilla/scintilla.defs
you can get the folding working in phpmole.
Change
(method marker_add
(of-object Scintilla (Gtk))
(c-name gtk_scintilla_marker_add)
(return-type none)
(parameter (type-and-name int line))
(parameter (type-and-name int marker_number))
)
To (it's the return type)
(method marker_add
(of-object Scintilla (Gtk))
(c-name gtk_scintilla_marker_add)
(return-type int)
(parameter (type-and-name int line))
(parameter (type-and-name int marker_number))
)