TextContentBuilder
A content builder class for building and manipulating purely textual content.
See also
Functions
Link copied to clipboard
fun TextContentBuilderBase<*>.numbered(startLineNumber: Int = 1, body: TextContentBuilderBase<*>.() -> Unit): TextContentBuilderBase<*>
Extension function for TextContentBuilder that adds line numbering to the content.
Link copied to clipboard
Adds padding to each line of the content produced by the provided builder block.
Link copied to clipboard
Adds the given text to the content. If the caret is not at the beginning of the line, a newline is added before appending the text.
Link copied to clipboard
Adds the given string as a new line of text to the content being built by the TextContentBuilder.