X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaScript.mli;h=5266a61e04ee1c05ebc0e234cf5360521061f07a;hb=1bcad789810fd37d346e690f18557aeedc6fe08c;hp=43c40b6462148d4227a9e0a1a606cd95c4e0837f;hpb=646ade789430669f4a6be3ecbf47d89fe865f132;p=helm.git diff --git a/helm/matita/matitaScript.mli b/helm/matita/matitaScript.mli index 43c40b646..5266a61e0 100644 --- a/helm/matita/matitaScript.mli +++ b/helm/matita/matitaScript.mli @@ -26,6 +26,8 @@ class type script = object + method locked_mark : Gtk.text_mark + (** @return current status *) method status: MatitaTypes.status @@ -39,6 +41,7 @@ object method retract : unit -> unit method goto: [`Top | `Bottom | `Cursor] -> unit -> unit method reset: unit -> unit + method template: unit -> unit (** {2 Load/save} *) @@ -59,6 +62,9 @@ object (** end of script, true if the whole script has been executed *) method eos: bool + + (** misc *) + method clean_dirty_lock: unit (* debug *) method dump : unit -> unit @@ -68,10 +74,11 @@ end (** @param set_star callback used to set the modified symbol (usually a star * "*") on the side of a script name *) val script: - buffer:GText.buffer -> + view:GText.view -> init:MatitaTypes.status -> mathviewer: MatitaTypes.mathViewer-> urichooser: (UriManager.uri list -> UriManager.uri list) -> + develcreator: (containing:string option -> unit) -> ask_confirmation: (title:string -> message:string -> [`YES | `NO | `CANCEL]) -> set_star: (string -> bool -> unit) ->