AvalonStudio.TextEditor.Indentation.CSharp.IndentationReformatter.Init C# (CSharp) Method

Init() public method

public Init ( ) : void
return void
		public void Init()
		{
			wordBuilder = new StringBuilder();
			blocks = new Stack<Block>();
			block = new Block();
			block.InnerIndent = "";
			block.OuterIndent = "";
			block.Bracket = '{';
			block.Continuation = false;
			block.LastWord = "";
			block.OneLineBlock = 0;
			block.PreviousOneLineBlock = 0;
			block.StartLine = 0;

			inString = false;
			inChar = false;
			verbatim = false;
			escape = false;

			lineComment = false;
			blockComment = false;

			lastRealChar = ' '; // last non-comment char
		}