TC V1.1.2: bug in line counting

Tool for Search and Replace across multiple files.
Post Reply
User avatar
Gorlash

TC V1.1.2: bug in line counting

Post 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).
User avatar
DV

Post by DV »

This is possible - the line count function relies on there only being one newline type in a file.
User avatar
Gorlash

Post 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).
User avatar
DV

Post by DV »

I've been playing around with a solution to this - I didn't want to sacrifice textcrawler's speed. Hopefully something soon!
User avatar
Gorlash

Post 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.
User avatar
DV

Post by DV »

Not fixed yet - I've been trying.
The bug only affects the preview, and not the replace operation.
Post Reply