package coq-lsp
Language Server Protocol native server for Coq
Install
Dune Dependency
Authors
Maintainers
Sources
coq-lsp-0.2.0.8.20.tbz
sha256=bcb9a4c3219aed47ffbfd7c8ea7a2f374140d8cdb76079927548f49c7e3576a9
sha512=945c0010b4952e41055cb7e35175d400e5c126dc340dd1c0ab53321605cd0d9539af6693a794cb81a9dec0385d0880d4417dae923b6d19c9b62913766a185d8c
doc/coq-lsp.fleche/Fleche/Contents/index.html
Module Fleche.Contents
Source
Source
type t = private {
raw : string;
(*That's the original, unprocessed document text, including markdown
*)text : string;
(*That's the text to be sent to the prover, already processed, and stripped from markdown, encoded in UTF-8
*)last : Lang.Point.t;
(*Last point of
*)text
, you can derive n_lines from herelines : string Array.t;
(*
*)text
split in lines
}
Process contents
Make an object of type t
but don't process the text, this is only used internally to still provide some contents when make
fails.
extract_raw contents ~range
Returns the sub-string of the raw
part of the document
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>