(* math viewers *)
let _ =
- let sequent_viewer = MatitaMathView.sequentViewer_instance () in
+ let cic_math_view = MatitaMathView.cicMathView_instance () in
let sequents_viewer = MatitaMathView.sequentsViewer_instance () in
- sequent_viewer#set_href_callback
+ sequents_viewer#load_logo;
+ cic_math_view#set_href_callback
(Some (fun uri -> (MatitaMathView.cicBrowser ())#load
(`Uri (UriManager.uri_of_string uri))));
let browser_observer _ = MatitaMathView.refresh_all_browsers () in
sequents_viewer#load_sequents status;
sequents_viewer#goto_sequent goal
| Proof proof ->
- prerr_endline "sequents_viewer#load_logo_with_qed (no proof)"; ()
+ sequents_viewer#load_logo_with_qed
| No_proof ->
- prerr_endline "sequents_viewer#load_logo (no proof)"; ()
+ sequents_viewer#load_logo
| Intermediate _ ->
assert false (* only the engine may be in this state *)
in
prerr_endline (UriManager.string_of_uri u))
(CicEnvironment.list_obj ()));
addDebugItem "print selections" (fun () ->
- let sequentViewer = MatitaMathView.sequentViewer_instance () in
- List.iter MatitaLog.debug (sequentViewer#string_of_selections));
+ let cicMathView = MatitaMathView.cicMathView_instance () in
+ List.iter MatitaLog.debug (cicMathView#string_of_selections));
addDebugItem "dump getter settings" (fun _ ->
prerr_endline (Http_getter_env.env_to_string ()));
addDebugItem "getter: getalluris" (fun _ ->