Closed kikaragyozov closed 8 months ago
Actually I think everything is working as expected. A blank line is only ignored once it is read. Hence the confusion. If I wish to get the byte count to the last empty line, I'd have to manually do the skipping.
Describe the bug CountBytes does not correctly count bytes when encountering a blank line when
IgnoreBlankLines
is set totrue
. A blank line is a line that only contains CR + LF and nothing else.When I disable
IgnoreBlankLines
and manually check for a blank line, the counting is as expected.