Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: void WriteParagraphs(EggsNode, int, bool)

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

EggsNodemessage The message to output.
inthangingIndent Specifies a number of spaces by which the message is indented in all but the first line of each paragraph.
boolstdErrtrue to print to Standard Error instead of Standard Output.

Remarks

See EggsNode.ToConsoleColoredStringWordWrap(int, int) for the colour syntax.