package linol
LSP server library
Install
Dune Dependency
Authors
Maintainers
Sources
linol-0.10.tbz
sha256=174bb8cad5b8b0c260d62b0a85da13c4f5caba4fcee042ee58284b09de7896ea
sha512=77460788407c72a33fbe289ec9c78421117543594b3524a5c8fe836f0e272c5ceb1e1074b91c1d1f476f89b75b6f63847a8021675a782ff36457c9626121a7f4
doc/linol.lsp/Linol_lsp/Text_document/index.html
Module Linol_lsp.Text_document
Source
Source
val apply_content_changes :
?version:int ->
t ->
Types.TextDocumentContentChangeEvent.t list ->
t
Apply a list of non overlapping text edits. The order of application matters when multiple inserts are done in the same position. All the offsets are interpreted relative to the original document.
absolute_position t pos
returns the absolute position of pos
inside text t
. If the position is outside the bounds of the document, the offset returned will be the length of the document. pos
is interpreted with position_encoding t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>