A marker at the start of every line of a code block that numbers its
lines, picks some out, or is a diff: the number is drawn from its
data-line, and a picked-out, added or removed line is banded from edge
to edge. The markers are zero-width widgets, chrome the document never
holds, so the code is exactly what was typed.
A folded block (collapsed) also gets a bar over its first hidden line,
whose button unfolds it. Returns a disposer.
A marker at the start of every line of a code block that numbers its lines, picks some out, or is a diff: the number is drawn from its
data-line, and a picked-out, added or removed line is banded from edge to edge. The markers are zero-width widgets, chrome the document never holds, so the code is exactly what was typed.A folded block (
collapsed) also gets a bar over its first hidden line, whose button unfolds it. Returns a disposer.