Click or drag to resize

LineWrappingTextWriterResetIndent Method

Restarts writing on the beginning of the line, without indenting that line.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntax
public void ResetIndent()
Remarks

The ResetIndent method will reset the output position to the beginning of the current line. It does not modify the Indent property, so the text will be indented again the next time a line break is written to the output.

If the current line buffer is not empty, it will be flushed to the BaseWriter, followed by a new line before the indentation is reset. If the current line buffer is empty (a line containing only indentation is considered empty), the output position is simply reset to the beginning of the line without writing anything to the base writer.

See Also