let args = Helm_registry.get_list Helm_registry.string "matita.args" in
let gui = MatitaGui.instance () in
init_debugging_menu gui;
- gui#newScript ();
List.iter gui#loadScript (List.rev args);
gui#main#mainWin#show ();
try
let script = MatitaScript.at_page page in
script#activate;
main#saveMenuItem#misc#set_sensitive script#has_name));
+ self#newScript ()
method private externalEditor () =
let script = MatitaScript.current () in
let script = MatitaScript.at_page page in
self#closeScript page script
- method newScript () =
+ method private newScript () =
let scrolledWindow = GBin.scrolled_window () in
let hbox = GPack.hbox () in
let tab_label = GMisc.label ~text:"foo"
method main: MatitaGeneratedGui.mainWin
(** {2 Utility methods} *)
- method newScript: unit -> unit
method loadScript: string -> unit
end