]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/termEditor.mli
Interface change: the get_as_string and set_term methods of the term-editors
[helm.git] / helm / gTopLevel / termEditor.mli
index 23f657c64954a051ba2dbe47aabdc74772a7c9e3..ce51bdbe84fcba241fe8e67cc2006393e1b9c034 100644 (file)
@@ -26,6 +26,7 @@
 class type term_editor =
  object
    method coerce : GObj.widget
+   (* get_as_string returns the unquoted string *)
    method get_as_string : string
    method get_metasenv_and_term :
      context:Cic.context ->
@@ -35,11 +36,12 @@ class type term_editor =
    method id_to_uris : Disambiguate.domain_and_interpretation ref
  end
 
-val empty_id_to_uris : string list * (string -> CicTextualParser0.uri option)
+val empty_id_to_uris : Disambiguate.domain_and_interpretation
 
 module Make (C : Disambiguate.Callbacks) :
    sig
     val term_editor :
+     MQIConn.handle ->
      ?packing:(GObj.widget -> unit) ->
      ?width:int ->
      ?height:int ->