···11open Code_mirror
2233-let tooltip = Jv.get Jv.global "__CM__tooltip"
44-53module Tooltip_view = struct
64 type t = Jv.t
75···9391 o
94929593let hover_tooltip ?config source =
9494+ (* let g = Jv.get Jv.global "__CM__hoverTooltip" in *)
9695 let source =
9796 Jv.repr @@ fun view pos side ->
9897 let fut =
···107106 if Option.is_none config then [| source |]
108107 else [| source; Option.get config |]
109108 in
110110- Jv.call tooltip "hoverTooltip" args |> Extension.of_jv
109109+ Jv.call Jv.global "__CM__hoverTooltip" args |> Extension.of_jv
-3
src/tooltip/tooltip.mli
···11open Code_mirror
2233-val tooltip : Jv.t
44-(** Global tooltip value *)
55-63module Tooltip_view : sig
74 (** Describes the way a tooltip is displayed. *)
85