package coq-lsp
Language Server Protocol native server for Coq
Install
Dune Dependency
Authors
Maintainers
Sources
coq-lsp-0.2.2.8.18.tbz
sha256=ec0a692c2ca60ee1a087626bb6087076f0e9a5ace3c88b1209c2f5dea0c91035
sha512=8aac7c4c99a7bdae741084e567348f8a4c36d64939d79348ff7b6f50dacf36da7aee8b7e648e94a863e895d1c60d911e2b3e38b4b8dcdf04c8ed1edde28f7660
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)"
>