Skip to content

Interface: LineCursor ​

Experimental

Where the sentinel-stream builder stands. buildLineLayout runs it from the start of a stream; streaming edits (LinePrimitive.splice) resume it in the middle of one, which is why the state is explicit.

Properties ​

PropertyTypeDescription
atnumberExperimental Next stream index to write.
lastValidbooleanExperimental The vertex before at is a valid point (not a sentinel).
lxnumberExperimental Position of the last valid point, for dropping exact duplicates.
lynumberExperimental
lznumberExperimental
startedbooleanExperimental Something (a sentinel at least) was written before at.

Released under the MIT License.