]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/lablgtksourceview/gSourceView.mli
ocaml 3.09 transition
[helm.git] / helm / DEVEL / lablgtksourceview / gSourceView.mli
index d9e83c5f695a80cabc7743b8d5bebc1e1233c1ec..746ddd77c14270ce9c8c5bea0e2c96499c5593c3 100644 (file)
@@ -1,26 +1,22 @@
-(* Copyright (C) 2005:
- *     Stefano Zacchiroli     <zack@cs.unibo.it>
- *     Claudio Sacerdoti Coen <sacerdot@cs.unibo.it>
+(*
+ * lablgtksourceview, OCaml binding for the GtkSourceView text widget
  *
- * This file is part of lablgtksourceview, the OCaml binding for the
- * GtkSourceView widget.
+ * Copyright (C) 2005  Stefano Zacchiroli <zack@cs.unibo.it>
  * 
- * lablgtksourceview is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
+ * This library is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of the
  * License, or (at your option) any later version.
- *
- * lablgtksourceview is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * 
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with lablgtksourceview; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * Lesser General Public License for more details.
  * 
- * For details, send a mail to the authors.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
  *)
 
 open Gtk
@@ -54,9 +50,17 @@ class source_languages_manager:
     method as_source_languages_manager:
       Gtk_sourceview.source_languages_manager obj
     method get_language_from_mime_type: string -> source_language option
+    method lang_files_dirs: string list
   end
 
-val source_languages_manager: unit -> source_languages_manager
+val source_languages_manager:
+(*   ?lang_files_dirs:string list -> *)
+  unit ->
+    source_languages_manager
+
+val source_language_from_file:
+  ?languages_manager:source_languages_manager -> string ->
+    source_language option
 
 (** {2 GtkSourceBuffer} *)
 
@@ -177,3 +181,7 @@ val source_view:
   unit ->
     source_view
 
+(** {2 Misc} *)
+
+val find_matching_bracket: GText.iter -> GText.iter option
+