X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Fmatita.ml;h=c1225bae46f6b7787b58fe2a1e80a0b739314ddb;hb=ec54d490477ece51c19d79750dda9805ffda663c;hp=cf7939fa7c7ce10300751c9db2a17e3e0dc42492;hpb=de4483296d06aac3df4da10d5401b1f97c4350ab;p=helm.git diff --git a/helm/matita/matita.ml b/helm/matita/matita.ml index cf7939fa7..c1225bae4 100644 --- a/helm/matita/matita.ml +++ b/helm/matita/matita.ml @@ -68,7 +68,7 @@ let script = MatitaGui.interactive_uri_choice ~selection_mode:`SINGLE ~title:"Matita: URI chooser" ~msg:"Select the URI" ~hide_uri_entry:true - ~hide_try:true ~ok_label:"_Apply" + ~hide_try:true ~ok_label:"_Apply" ~ok_action:`SELECT ~copy_cb:(fun s -> gui#main#scriptTextView#buffer#insert ("\n"^s^"\n")) () ~id:"boh?" uris with MatitaTypes.Cancel -> []) @@ -146,6 +146,12 @@ let _ = (fun _ -> let nb = gui#main#hintNotebook in nb#goto_page ((nb#current_page + 1) mod 3)); + (* + addDebugItem "print (on stdout) \"statement\" grammar entry" + (fun _ -> + Grammar.print_entry Format.std_formatter + (Grammar.Entry.obj CicTextualParser2.statement); + Format.pp_print_flush Format.std_formatter ());*) end (** *)