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;
}