Krikri::Lint::FixBuffer
Line-edit buffer for autofixes. All fixes operate on the file's original line numbers: edits are spans within existing lines, whole-line deletions, or the final-newline flag. Nothing may insert or remove lines before the end, so violation coordinates stay valid for the whole fix pass.
Constructors
Instance methods
add_final_newline
Sourceadd_trailing_newline
Sourcechanged?
Sourcedeleted
Sourcehad_trailing_newline?
Sourcelines
SourceReplaces length bytes starting at column (1-based) on line with replacement. Returns false when the span is out of bounds.
result
Source