Skip to main content

fence_rows

Function fence_rows 

Source
pub fn fence_rows(buffer: &EditorBuffer) -> Vec<usize>
Expand description

Collects every fence-marker row in a single linear pass.

Hot paths (per-frame highlight, table layout) must call this once per document version and share the result — never scan per row.