std.block.heal.core
create-block-scan
added in 4.1
(create-block-scan block lines)(create-block-scan block lines line col)(create-block-scan block lines line col end-col)creates a scan window for a block.
The default arity scans the full block. The extended arities allow the caller to override the scan line range, start column, and optional end column when a smaller suspect region has already been identified.
create-close-hint-scan
added in 4.1
(create-close-hint-scan block lines scan interim interim-errors)uses a later correct close delimiter to narrow the suspect scan window
get-block-lines
added in 4.0
(get-block-lines lines [start end] start-col & [end-col])gets the block lines
get-errored-raw
added in 4.0
(get-errored-raw lines blocks)helper function for get-errored
group-blocks-multi
added in 4.0
(group-blocks-multi entries)(group-blocks-multi entries col)categorises the blocks
group-blocks-prep
added in 4.0
(group-blocks-prep content)prepares the block entries for a file
group-blocks-prep-entries
added in 4.0
(group-blocks-prep-entries delimiters starts)prepares the block entries for a file
heal-content
added in 4.0
(heal-content content)allow multiple passes to heal the delimiter
heal-content-single-pass
added in 4.0
(heal-content-single-pass content)heals the content in a single pass
localize-close-hint-scan
added in 4.1
(localize-close-hint-scan block lines)runs a close-delimiter localization pass before the full structural check
tighter-scan?
added in 4.1
(tighter-scan? scan line col end-col)checks if the candidate scan is narrower than the current scan
wrap-print-diff
added in 4.0
(wrap-print-diff print-fn)print wrapper for the heal function