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

WriteTo() public static method

Retrieves the text for a portion of the rope and writes it to the specified text writer. Runs in O(lg N + M), where M=length.
This method counts as a read access and may be called concurrently to other read accesses.
offset or length is outside the valid range.
public static WriteTo ( this rope, TextWriter output, int startIndex, int length ) : void
rope this
output System.IO.TextWriter
startIndex int
length int
return void
		public static void WriteTo(this Rope<char> rope, TextWriter output, int startIndex, int length)
		{
			if (rope == null)
				throw new ArgumentNullException("rope");
			if (output == null)
				throw new ArgumentNullException("output");
			rope.VerifyRange(startIndex, length);
			rope.root.WriteTo(startIndex, output, length);
		}

Same methods

CharRope::WriteTo ( this node, int index, TextWriter output, int count ) : void