X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2FmatitaScript.mli;h=ca4b2f86dcdb4dafdb27f3175ffde5217153e980;hb=21e21b3b061807035bbd18d29d7a4fd8086ca10d;hp=5e8658d3fc184493f99af6cfc7b28942e00ffc9a;hpb=0c69106b8cf67a0baad545a9d7b0816b2b7de8ac;p=helm.git diff --git a/matita/matita/matitaScript.mli b/matita/matita/matitaScript.mli index 5e8658d3f..ca4b2f86d 100644 --- a/matita/matita/matitaScript.mli +++ b/matita/matita/matitaScript.mli @@ -34,7 +34,7 @@ object method error_tag : GText.tag (** @return current status *) - method grafite_status: GrafiteTypes.status + method status: GrafiteTypes.status (** {2 Observers} *) @@ -50,6 +50,7 @@ object (** {2 History} *) + method activate : unit method advance : ?statement:string -> unit -> unit method retract : unit -> unit method goto: [`Top | `Bottom | `Cursor] -> unit -> unit @@ -81,16 +82,8 @@ object method include_paths: string list method assignFileName : string option -> unit (* to the current active file *) method loadFromFile : string -> unit - method loadFromString : string -> unit method saveToFile : unit -> unit - (** {2 Current proof} (if any) *) - - method stack: Continuationals.Stack.t (** @raise Statement_error *) - - method setGoal: int option -> unit - method goal: int option - (** end of script, true if the whole script has been executed *) method eos: bool method bos: bool @@ -98,7 +91,7 @@ object (** misc *) method clean_dirty_lock: unit method set_star: bool -> unit - method source_view: GSourceView2.source_view + method source_view: GSourceView3.source_view method has_parent: GObj.widget -> bool (* debug *) @@ -108,13 +101,10 @@ object end val script: - urichooser: (GSourceView2.source_view -> NReference.reference list -> NReference.reference list) -> - ask_confirmation: - (title:string -> message:string -> [`YES | `NO | `CANCEL]) -> - parent:GBin.scrolled_window -> - tab_label:GMisc.label -> - unit -> - script + parent:GBin.scrolled_window -> tab_label:GMisc.label -> unit -> script +val destroy: int -> unit val current: unit -> script +val at_page: int -> script + val iter_scripts: (script -> unit) -> unit