val refresh_all_browsers: unit -> unit (** act on all cicBrowsers *)
val update_font_sizes: unit -> unit
- (** {3 selection handling} *)
+ (** {3 Clipboard & Selection handling} *)
- (* @return the selections of a (unspecified) math viewer *)
-val get_selections: unit -> string list option
+val has_selection: unit -> bool
- (* remove the selections of all math viewers *)
-val reset_selections: unit -> unit
+ (** fills the clipboard with the current selection
+ * @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" *)
+val paste_clipboard: MatitaGuiTypes.paste_kind -> string
(** {2 Singleton instances} *)