For anybody interested, I've just built bindings against
gtksourceview-1.0.1, based on the source at
http://www.bitbuilder.com/pysourceview/bins/pysourceview-1.0.1.tar.gz
and the attached tiny patch.
Note that the original source is based on a very old version of
sourceview and so doesn't have any of the newer api such as printing.
Line numbers and syntax highlighting work correctly though. See
http://meld.sourceforge.net/Screenshot.png
Stephen.
--
Stephen Kennedy <[EMAIL PROTECTED]>
http://meld.sf.net visual diff and merge
diff -u pysourceview-1.0.1-orig/sourceview.defs pysourceview-1.0.1-new/sourceview.defs
--- pysourceview-1.0.1-orig/sourceview.defs 2003-05-12 20:09:57.000000000 +0100
+++ pysourceview-1.0.1-new/sourceview.defs 2004-05-07 18:37:53.000000000 +0100
@@ -597,6 +597,7 @@
(is-constructor-of "GtkSyntaxTag")
(return-type "GtkTextTag*")
(parameters
+ '("const-gchar*" "id")
'("const-gchar*" "name")
'("const-gchar*" "pattern_start")
'("const-gchar*" "pattern_end")
@@ -613,6 +614,7 @@
(is-constructor-of "GtkPatternTag")
(return-type "GtkTextTag*")
(parameters
+ '("const-gchar*" "id")
'("const-gchar*" "name")
'("const-gchar*" "pattern")
)
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/