IS THERE MAXIMUM LINE LENGTH?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
TMILLER
Posts: 1
Joined: Fri Feb 08, 2008 3:58 am

IS THERE MAXIMUM LINE LENGTH?

Post by TMILLER »

Hi,
I was trying to edit a data file that was really long and noticed that a lot of it got cut off. Fortunately I could afford to lose some of the end data but now I'm worried about future projects. Is there a maximum line length in TextPad? Or do I need to set anything in preferences?

Thanks,
Terry
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

The maximum line length seems to be 33554429, that is, 2**25 - 3 (32M - 3). But TextPad becomes unusably slow well before you get anywhere near that figure.

If you ask TextPad to edit a file with lines longer than that it politely asks you if it should split them into 33554429-byte lines.
Post Reply