vertx / io.vertx.core.cli / UsageMessageFormatter / renderWrappedTextBlock

renderWrappedTextBlock

open fun renderWrappedTextBlock(sb: StringBuilder, width: Int, nextLineTabStop: Int, text: String): Appendable

Renders the specified text width a maximum width. This method differs from renderWrappedText by not removing leading spaces after a new line.

Parameters

sb - The StringBuilder to place the rendered text into.

width - The number of characters to display per line

nextLineTabStop - The position on the next line for the first tab.

text - The text to be rendered.