X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=inline;f=matita%2Fmatita%2FmatitaMathView.mli;h=567f67d42059798224ec7b63673e4f604b04b6fe;hb=7c9d99dfb049d726491b71f07ba6a9b088b30166;hp=51bba6b3e6fbe3ba52bda5652e82a02b810d7b2f;hpb=f3d0ba1e75bc3383d766f3a33a19352db19854df;p=helm.git diff --git a/matita/matita/matitaMathView.mli b/matita/matita/matitaMathView.mli index 51bba6b3e..567f67d42 100644 --- a/matita/matita/matitaMathView.mli +++ b/matita/matita/matitaMathView.mli @@ -23,21 +23,17 @@ * http://helm.cs.unibo.it/ *) -(** {2 Instances} *) -val cicBrowser: unit -> MatitaGuiTypes.cicBrowser - -(** {2 Singleton instances} *) -val sequentsViewer_instance: unit -> MatitaGuiTypes.sequentsViewer +(** {2 To be called just once} *) +val sequentsViewer_instance: GPack.notebook -> MatitaGuiTypes.sequentsViewer (** {2 Global changes} *) - val refresh_all_browsers: unit -> unit (** act on all cicBrowsers *) (** {2 Rendering in a browser} *) (** @param reuse if set reused last opened cic browser otherwise * opens a new one. default is false *) -val show_entry: ?reuse:bool -> MatitaTypes.mathViewer_entry -> unit +val cicBrowser: ?reuse:bool -> MatitaTypes.mathViewer_entry option -> unit (** {2 Clipboard & Selection handling} *) @@ -47,6 +43,7 @@ val has_selection: unit -> bool * @raise Failure "no selection" *) val copy_selection: unit -> unit val has_clipboard: unit -> bool (** clipboard is not empty *) + val empty_clipboard: unit -> unit (** empty the clipboard *) (** @raise Failure "empty clipboard" *)