]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaScript.mli
removed no longer used METAs
[helm.git] / helm / matita / matitaScript.mli
index 35ae43ebb7e5c6d2622a7d950045f019c3931a8a..cfc4655414bc08acaca2528aa175fa93c85a8da6 100644 (file)
  * http://helm.cs.unibo.it/
  *)
 
+exception NoUnfinishedProof
+exception ActionCancelled
+
 class type script =
 object
 
   method locked_mark : Gtk.text_mark
   method locked_tag : GText.tag
+  method error_tag : GText.tag
 
   (** @return current status *)
-  method status: MatitaTypes.status
+  method lexicon_status: LexiconEngine.status
+  method grafite_status: GrafiteTypes.status
     
   (** {2 Observers} *)
 
-  method addObserver : (MatitaTypes.status -> unit) -> unit
+  method addObserver :
+   (LexiconEngine.status -> GrafiteTypes.status -> unit) -> unit
 
   (** {2 History} *)
 
@@ -62,8 +68,8 @@ object
   method proofConclusion: Cic.term            (** @raise Statement_error *)
   method stack: Continuationals.Stack.t       (** @raise Statement_error *)
 
-  method setGoal: int -> unit
-  method goal: int
+  method setGoal: int option -> unit
+  method goal: int option
 
   (** end of script, true if the whole script has been executed *)
   method eos: bool
@@ -80,7 +86,6 @@ end
    * "*") on the side of a script name *)
 val script: 
   source_view:GSourceView.source_view -> 
-  init:MatitaTypes.status -> 
   mathviewer: MatitaTypes.mathViewer-> 
   urichooser: (UriManager.uri list -> UriManager.uri list) -> 
   develcreator: (containing:string option -> unit) ->