Skip to main content

table_layouts

Function table_layouts 

Source
pub fn table_layouts(buffer: &EditorBuffer) -> Vec<TableLayout>
Expand description

Finds every table block in the buffer with its measured TableLayout.

Pure in buffer text; callers cache the result per document version.

Single-shot helper: computes the fence index in one O(N) pass. Hot paths must hoist that pass and call table_layouts_with_fences.