package coq-lsp
Language Server Protocol native server for Coq
Install
Dune Dependency
Authors
Maintainers
Sources
coq-lsp-0.2.3.8.18.tbz
sha256=f574f3323a00eab3c158ae70dfd88fbbe90c8c86f95e0f175570266d5b401b14
sha512=2bd46a630a21306ccd62469f29fa60bb43d96c62d8236abafd15f9c2cd904070d92ec566263d1b8f151698914a6d740e5f6adcfb020c338e90a0b23a4457bc16
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)"
>