While I don't directly know the answer to this, and is likely
operating system dependant, this is a great opportunity to
use perl to find out. Write a script to
create successively longer lines, prefixed by the length.
if the lines are missing due to length issues, you should be
able to ascertain what that number is for your platform pretty
easily. the max length should be length of the last line + 1
Are you *sure* the missing lines are related to a logic issue?
or perhaps a limitation in your text editor?