Mono.TextEditor.LineSplitter.GetLinesStartingAt C# (CSharp) Method

GetLinesStartingAt() public method

public GetLinesStartingAt ( int startLine ) : IEnumerable
startLine int
return IEnumerable
		public IEnumerable<DocumentLine> GetLinesStartingAt (int startLine)
		{
			var startNode = GetNode (startLine - 1);
			if (startNode == null)
				yield break;
			do {
				yield return startNode;
				startNode = startNode.GetNextNode ();
			} while (startNode != null);
		}