fn applyIndent(ais: *AutoIndentingStream) Error!void ais: *AutoIndentingStreamOutOfMemoryRan out of memory allocating call stack frames to complete rendering.
WriteFailedTransitive failure from
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518 fn applyIndent(ais: *AutoIndentingStream) Error!void {
const current_indent = ais.currentIndent();
if (ais.current_line_empty) {
if (current_indent > 0 and ais.disabled_offset == null) {
try ais.underlying_writer.splatByteAll(' ', current_indent);
}
ais.applied_indent = current_indent;
}
ais.current_line_empty = false;
}
Writes ' ' bytes if the current line is empty