Browse Source

Added helper method to reset new lines state in the text generator.

pull/1/head
triton 13 years ago
parent
commit
cdc613f24f
  1. 5
      src/Generator/Utils/TextGenerator.cs

5
src/Generator/Utils/TextGenerator.cs

@ -72,6 +72,11 @@ namespace Cxxi @@ -72,6 +72,11 @@ namespace Cxxi
needsNewLine = true;
}
public void ResetNewLine()
{
needsNewLine = false;
}
public void PushIndent(uint indent = DefaultIndent)
{
CurrentIndent.Push(indent);

Loading…
Cancel
Save