Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Indent() [1/2]

void System.Xml.Xsl.XsltOld.SequentialOutput.Indent ( int depth)
inlineprivateinherited

Definition at line 627 of file SequentialOutput.cs.

628 {
629 if (_firstLine)
630 {
631 if (_indentOutput)
632 {
633 _firstLine = false;
634 }
635 return;
636 }
637 Write("\r\n");
638 int num = 2 * depth;
639 while (0 < num)
640 {
641 Write(" ");
642 num--;
643 }
644 }

References System.Xml.Xsl.XsltOld.SequentialOutput._firstLine, System.Xml.Xsl.XsltOld.SequentialOutput._indentOutput, and System.Xml.Xsl.XsltOld.SequentialOutput.Write().