X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaScript.mli;h=2b36a5d3d4fb3165d33ca8aacf00feab8cba5ff2;hb=41be5e85a1103a5b14495bb487995a6a88e79c48;hp=a44d615d2b012cf322910a613e13dd76974b4cbd;hpb=ce3b9018fe80437a56e56f2bc0b5696b2acb59bb;p=helm.git diff --git a/helm/matita/matitaScript.mli b/helm/matita/matitaScript.mli index a44d615d2..2b36a5d3d 100644 --- a/helm/matita/matitaScript.mli +++ b/helm/matita/matitaScript.mli @@ -28,13 +28,14 @@ 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 status: GrafiteTypes.status (** {2 Observers} *) - method addObserver : (MatitaTypes.status -> unit) -> unit + method addObserver : (GrafiteTypes.status -> unit) -> unit (** {2 History} *) @@ -49,18 +50,21 @@ object method assignFileName : string -> unit (* to the current active file *) method loadFromFile : string -> unit method saveToFile : unit -> unit + method filename : string (** {2 Current proof} (if any) *) (** @return true if there is an ongoing proof, false otherise *) method onGoingProof: unit -> bool - method proofStatus: ProofEngineTypes.status (** @raise Statement_error *) +(* method proofStatus: ProofEngineTypes.status |+* @raise Statement_error +| *) method proofMetasenv: Cic.metasenv (** @raise Statement_error *) method proofContext: Cic.context (** @raise Statement_error *) method proofConclusion: Cic.term (** @raise Statement_error *) + method stack: Continuationals.Stack.t (** @raise Statement_error *) method setGoal: int -> unit + method goal: int (** end of script, true if the whole script has been executed *) method eos: bool @@ -77,7 +81,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) -> @@ -91,5 +94,5 @@ val script: * the value of this ref *) (* TODO Zack: orrible solution until we found a better one for having a single * access point for the script *) -val instance: unit -> script +val current: unit -> script