package zed
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Abstract engine for text edition in OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
zed-1.6.tbz
sha256=74bb48f2ee9f5bd22079582cfe6228d944af19e0d8393a849eae5ee7b88f1e1e
md5=f75c3094af1a22f9801d5ca5eb2d40e0
doc/zed/Zed_lines/index.html
Module Zed_linesSource
Sets of line positions.
This module implement sets of line positions. They allow to efficiently find the beginning of a line and to convert offset to line and column number.
Exception raised when trying to access a position outside the bounds of a set.
Type of sets of line positions.
of_rope rope returns the set of newline positions in rope.
line_index set ofs returns the line number of the line containing ofs.
line_start set idx returns the offset of the beginning of the idxth line of set .
line_stop set idx returns the offset of the end of the idxth line of set .
line_length set idx returns the length of the idxth line of set .
remove set offet length removes length characters at offset in set.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>