Mono.TextEditor.TextDocument.IsEmptyLine C# (CSharp) Method

IsEmptyLine() public method

public IsEmptyLine ( DocumentLine line ) : bool
line DocumentLine
return bool
		public bool IsEmptyLine (DocumentLine line)
		{
			for (int i = 0; i < line.Length; i++) {
				char ch = GetCharAt (line.Offset + i);
				if (!Char.IsWhiteSpace (ch)) 
					return false;
			}
			return true;
		}
TextDocument