IsMissingNewlineAtEnd() public method

Determine if the file ends with a LF ('\n').
Determine if the file ends with a LF ('\n').
public IsMissingNewlineAtEnd ( ) : bool
return bool
Ejemplo n.º 1
0
 private bool IsEndOfLineMissing(Text text, int line)
 {
     return(line + 1 == text.Size() && text.IsMissingNewlineAtEnd());
 }
Ejemplo n.º 2
0
 private bool IsEndOfLineMissing(Text text, int line)
 {
     return line + 1 == text.Size() && text.IsMissingNewlineAtEnd();
 }