X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaScript.mli;h=f3523c15baa30dc12468221c25bb1cc6bb8caebb;hb=c1f74c5fe5c69d3d830f6a58bc0e20c99d1fa8f7;hp=8c776685a5a2b457993df59d3e90170cd4f6650b;hpb=f066e0440f654917ca0969b4cbcf3a0d7be8a853;p=helm.git diff --git a/helm/matita/matitaScript.mli b/helm/matita/matitaScript.mli index 8c776685a..f3523c15b 100644 --- a/helm/matita/matitaScript.mli +++ b/helm/matita/matitaScript.mli @@ -28,6 +28,7 @@ object method locked_mark : Gtk.text_mark method locked_tag : GText.tag + method error_tag : GText.tag (** @return current status *) method status: MatitaTypes.status @@ -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 @@ -76,7 +80,7 @@ end (** @param set_star callback used to set the modified symbol (usually a star * "*") on the side of a script name *) val script: - view:GText.view -> + source_view:GSourceView.source_view -> init:MatitaTypes.status -> mathviewer: MatitaTypes.mathViewer-> urichooser: (UriManager.uri list -> UriManager.uri list) -> @@ -91,5 +95,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