]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/texTermEditor.mli
Interface change: the get_as_string and set_term methods of the term-editors
[helm.git] / helm / gTopLevel / texTermEditor.mli
index 44c543276b9c977df1ce72dbb8fc2f864ce53307..beb21ec85003fb80bebe74f28ed11f221be3b01c 100644 (file)
 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 ->
      metasenv:Cic.metasenv -> Cic.metasenv * Cic.term
    method reset : unit
+   (* The input of set_term is unquoted *)
    method set_term : string -> unit
    method id_to_uris : Disambiguate.domain_and_interpretation ref
  end
@@ -40,6 +42,7 @@ 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 ->