Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Ezjs_ace.Ace
SourceEditor
type 'a editor = {
editor_div : Js_of_ocaml.Dom_html.divElement Js_of_ocaml.Js.t;
editor : ('a editor * 'a option) Ace_types.editor Js_of_ocaml.Js.t;
mutable marks : int list;
}
val greater_position :
< column : < get : 'res.. > Js_of_ocaml.Js.gen_prop
; row : < get : 'res0.. > Js_of_ocaml.Js.gen_prop.. >
Js_of_ocaml.Js.t ->
< column : < get : 'res.. > Js_of_ocaml.Js.gen_prop
; row : < get : 'res0.. > Js_of_ocaml.Js.gen_prop.. >
Js_of_ocaml.Js.t ->
bool
val create_range :
Ace_types.position Js_of_ocaml.Js.t ->
Ace_types.position Js_of_ocaml.Js.t ->
Ace_types.range Js_of_ocaml.Js.t
val read_position :
< column : < get : 'res.. > Js_of_ocaml.Js.gen_prop
; row : < get : 'res0.. > Js_of_ocaml.Js.gen_prop.. >
Js_of_ocaml.Js.t ->
'res0 * 'res
val read_range :
< end_ :
< get :
< column : < get : 'res.. > Js_of_ocaml.Js.gen_prop
; row : < get : 'res0.. > Js_of_ocaml.Js.gen_prop.. >
Js_of_ocaml.Js.t.. >
Js_of_ocaml.Js.gen_prop
; start :
< get :
< column : < get : 'res1.. > Js_of_ocaml.Js.gen_prop
; row : < get : 'res2.. > Js_of_ocaml.Js.gen_prop.. >
Js_of_ocaml.Js.t.. >
Js_of_ocaml.Js.gen_prop.. >
Js_of_ocaml.Js.t ->
('res2 * 'res1) * ('res0 * 'res)
include module type of struct include Mark_type end
Mode
type 'state helpers = {
initial_state : unit -> 'state;
get_next_line_indent : 'state -> line:string -> tab:string -> string;
get_line_tokens : string -> 'state -> int -> doc -> 'state * token list;
check_outdent : ('state -> string -> string -> bool) option;
auto_outdent : ('state ->
Ace_types.document Js_of_ocaml.Js.t ->
int ->
unit)
option;
}
val create_js_line_tokens :
('t122 * Ace_types.token Js_of_ocaml.Js.t list) ->
't122 Ace_types.line_tokens Js_of_ocaml.Js.t
val replace :
< replace :
't152 ->
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
'res Js_of_ocaml.Js.meth.. >
Js_of_ocaml.Js.t ->
't152 ->
string ->
'res
val delete :
< replace :
't155 ->
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
'res Js_of_ocaml.Js.meth.. >
Js_of_ocaml.Js.t ->
't155 ->
'res