File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11(library
22 (name previewer)
33 (public_name slipshow.previewer)
4- (libraries communication brr slipshow js_of_ocaml-lwt lwt ansi actions_arguments common_types))
4+ (libraries
5+ communication
6+ brr
7+ slipshow
8+ js_of_ocaml-lwt
9+ lwt
10+ ansi
11+ actions_arguments
12+ common_types))
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ val create_previewer :
1414 ?callback : (int -> unit ) ->
1515 ?save_drawing : (path :string -> content :string -> unit ) ->
1616 save_coordinate :
17- (id :Common_types .gui_id ->
18- coord :Actions_arguments.Gui .t ->
19- unit ) ->
17+ (id :Common_types .gui_id -> coord :Actions_arguments.Gui .t -> unit ) ->
2018 goto_loc :(Common_types .gui_id -> unit ) ->
2119 include_speaker_view :bool ->
2220 errors_el :Brr .El .t ->
Original file line number Diff line number Diff line change @@ -15,8 +15,5 @@ val open_speaker_notes : unit -> unit
1515val send_speaker_notes : string -> unit
1616val opened_recording_panel : unit -> unit
1717val closed_recording_panel : unit -> unit
18-
19- val send_gui_coordinate :
20- Common_types .gui_id -> Actions_arguments.Gui .t -> unit
21-
18+ val send_gui_coordinate : Common_types .gui_id -> Actions_arguments.Gui .t -> unit
2219val send_loc : Common_types .gui_id -> unit
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ val saved : t
1414(* * The roots for the saved buffers. *)
1515
1616val update_root :
17- should_broadcast : bool ->
17+ should_broadcast :bool ->
1818 Slipshow.Compile .file_reader ->
1919 t ->
2020 Slipshow.Ast .unit' Fpath .map ->
Original file line number Diff line number Diff line change @@ -12,10 +12,7 @@ module Client_to_server : sig
1212 | Ping
1313 | UpdateFrom of string
1414 | Save_drawing of string * string (* path * content *)
15- | Save_gui_position of {
16- id : Common_types .gui_id ;
17- coord : string ;
18- }
15+ | Save_gui_position of { id : Common_types .gui_id ; coord : string }
1916 | GotoLoc of Common_types .gui_id
2017
2118 include Serializing with type t := t
Original file line number Diff line number Diff line change @@ -29,9 +29,7 @@ val do_watch :
2929module Server : sig
3030 val do_serve :
3131 port :int ->
32- to_lsp_server :
33- (Proto.Client_to_server .t -> root -> unit )
34- option ->
32+ to_lsp_server :(Proto .Client_to_server .t -> root -> unit ) option ->
3533 roots ->
3634 (unit , [> `Addr_in_use ]) result Lwt .t
3735end
You can’t perform that action at this time.
0 commit comments