CodeInput.indentRope

Get a rope representing given indent level.

class CodeInput
const
indentRope
(
int indentLevel = 1
)

Examples

auto root = codeInput(.useTabs);

assert(root.indentRope == "\t");
assert(root.indentRope(2) == "\t\t");
assert(root.indentRope(3) == "\t\t\t");

Meta