Line wrapping text writer

The Ookii.CommandLine library includes a utility class, the LineWrappingTextWriter class, which it uses for properly word-wrapping usage help when writing it to the console, but which can also be used in your own code.

The LineWrappingTextWriter class allows you to write text to another TextWriter class, wrapping that text at the specified line length, and optionally indenting subsequent lines.

Last edited Aug 14, 2011 at 5:19 AM by SvenGroot, version 1

Comments

No comments yet.