vscoq-language-server.dm
Dm.RawDocument
vscoq-language-server.language
vscoq-language-server.lsp
type text_edit = Lsp.Types.Range.t * string
type t
val create : string -> t
val text : t -> string
val position_of_loc : t -> int -> Lsp.Types.Position.t
val loc_of_position : t -> Lsp.Types.Position.t -> int
val end_loc : t -> int
val range_of_loc : t -> Loc.t -> Lsp.Types.Range.t
val word_at_position : t -> Lsp.Types.Position.t -> string option
val apply_text_edit : t -> text_edit -> t * int
Applies a text edit, and returns start location