Declaration
public static void WriteParagraphs(
EggsNode message,
int hangingIndent = 0,
bool stdErr = false
)
Summary
Outputs the specified coloured message, marked up using EggsML, to the console window, treating newlines as
paragraph breaks. All paragraphs are word-wrapped to fit in the console buffer, or to a sensible width if
redirected to a file. Each paragraph is indented by the number of spaces at the start of the corresponding line.
Parameters
EggsNode | message |
The message to output. |
int | hangingIndent |
Specifies a number of spaces by which the message is indented in all but the first line of each paragraph. |
bool | stdErr | true to print to Standard Error instead of Standard Output. |
Remarks
See
EggsNode.ToConsoleColoredStringWordWrap(int, int) for the colour syntax.