]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaScript.mli
milestone in basic_2, λδ-2A reconstructed
[helm.git] / matita / matita / matitaScript.mli
index 5e8658d3fc184493f99af6cfc7b28942e00ffc9a..9958170d9c400eb663309947ac2df5f95a8b6fd9 100644 (file)
@@ -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
@@ -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