Page 1 of 1
TC V1.1.2: bug in line counting
Posted: Fri Apr 03, 2009 11:34 pm
by Gorlash
I'm finding that in some cases, the line number(s) shown by TC are incorrect, sometimes off by dozens of lines. I *think* it occurs mostly with files that have combinations of Linux and Windows newlines (Linux uses LF only, Windows uses CRLF).
Posted: Tue Apr 21, 2009 2:29 pm
by DV
This is possible - the line count function relies on there only being one newline type in a file.
Posted: Tue Aug 18, 2009 6:13 pm
by Gorlash
Any chance of getting a fix for this bug? It isn't especially strange to see mixed line-ending types in a file, especially if one edits Linux code on a Windows machine (as I and my co-workers do).
Posted: Thu Aug 20, 2009 8:45 pm
by DV
I've been playing around with a solution to this - I didn't want to sacrifice textcrawler's speed. Hopefully something soon!
Posted: Thu Nov 05, 2009 5:26 pm
by Gorlash
has this bug ben addressed in 1.1.3 ??
I can't use TC at all until it is; most of our files have mixed line-ending types.
Posted: Tue Nov 10, 2009 1:16 pm
by DV
Not fixed yet - I've been trying.
The bug only affects the preview, and not the replace operation.