]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/termEditor.ml
Interface change: the get_as_string and set_term methods of the term-editors
[helm.git] / helm / gTopLevel / termEditor.ml
index 48f5adb63648b2ff04e92ddfee490fe45bb75f06..310efd176b0623693e855339fdffa619d53044e8 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
@@ -80,6 +82,7 @@ module Make(C:Disambiguate.Callbacks) =
        self#reset ;
        ignore ((input#insert_text txt) ~pos:0)
       (* CSC: this method should disappear *)
+      (* get_as_string returns the unquoted string *)
       method get_as_string =
        input#get_chars 0 input#length
       method get_metasenv_and_term ~context ~metasenv =