AvalonStudio.TextEditor.Utils.CharRope.FillNode C# (CSharp) Method

FillNode() private static method

private static FillNode ( RopeNode node, string text, int start ) : void
node RopeNode
text string
start int
return void
		private static void FillNode(RopeNode<char> node, string text, int start)
		{
			if (node.contents != null)
			{
				text.CopyTo(start, node.contents, 0, node.length);
			}
			else
			{
				FillNode(node.left, text, start);
				FillNode(node.right, text, start + node.left.length);
			}
		}