]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaScript.mli
Debugging code commented out.
[helm.git] / helm / matita / matitaScript.mli
index 6aea4ad1c53bac07ca6ffb83b2682ef2e89a96f3..5266a61e04ee1c05ebc0e234cf5360521061f07a 100644 (file)
@@ -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} *)
 
@@ -57,16 +60,27 @@ object
 
   method setGoal: int -> unit
 
+  (** 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
 
 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) ->
   unit -> 
     script