[]
This utility class formats messages to the specified line width, by inserting line-breaks between words, and printing the resulting lines.
public class MsgPrinter
Name | Description |
---|---|
MsgPrinter(int) | Creates a new message printer with the specified line width and with the default locale. |
Name | Description |
---|---|
lw | The line width to use |
Name | Description |
---|---|
LineWidth | Returns the line width that is used for formatting. |
Name | Description |
---|---|
print(StreamWriter, int, int, string) | Formats the message to print in the current line width, by breaking the message into lines between words. The number of spaces to indent the first line is specified by 'flind' and the number of spaces to indent each of the following lines is specified by 'ind'. Newlines in 'msg' are respected. A newline is always printed at the end. |