Compare text files with looong lines

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Hensz
Junior Member
Junior Member
Posts: 13
Joined: 2005-05-25, 08:02 UTC

Compare text files with looong lines

Post by *Hensz »

Hi!

I'm trying to compare two large text files using Files/Compare By Content... Both files have a size of approximately 60MB with 13000 lines and 5500 columns. Comparing does work, but the resulting dialog "Compare contents" only shows the lines with differences including red colored line number of differences, but not the text itself.

When I select the Edit Mode and mark some parts of the text some of it is shown, but when the selection changes the text disappears again.

Oh, I've forgotten... I've tried version 7.0 (6.6.2007) and 7.02a (14.9.2007) on an English Windows XP

Best regards,
Torsten Ihben
User avatar
Hensz
Junior Member
Junior Member
Posts: 13
Joined: 2005-05-25, 08:02 UTC

Post by *Hensz »

Here are some screenshots:

The empty list, only the line numbers are visible:
Image: http://img410.imageshack.us/img410/5451/compareemptydq4.jpg

The list with marked text in Edit Mode:
Image: http://img84.imageshack.us/img84/8754/comparemarkedye9.jpg
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are the lines longer than 8192 characters? Some display adapters fail to display them, because officially the DrawText, Textout etc. functions only support up to 8191 characters.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)

Code: Select all

because officially the DrawText, Textout etc. functions only support up to 8191 characters.
This limitation only applies to Windows 9x and ME. Hensz wrote that he is using Windows XP.
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

Christian,
it is probably about time, you'll think about support for looong lines. I know you moved my problem to the section "not going to fix", but still... apparently I am not the only one with such problems :roll:

ado
User avatar
Hensz
Junior Member
Junior Member
Posts: 13
Joined: 2005-05-25, 08:02 UTC

Post by *Hensz »

ghisler(Author) wrote:Are the lines longer than 8192 characters? Some display adapters fail to display them, because officially the DrawText, Textout etc. functions only support up to 8191 characters.
I don't know for sure. All lines I checked have about 5000 characters, and it's a csv file where all values are similar, so I assume that no line is longer than 6000 characters.

For a test you could create a text file where the first line has 100 characters, the second has 200 and so on. Perhaps then you can tell how many characters can be displayed in a line...

Best regards,
Hensz
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

There is no reason why TC shouldn't show the lines. Sorry, can't help you. :(
Author of Total Commander
https://www.ghisler.com
d
Member
Member
Posts: 157
Joined: 2007-02-05, 14:54 UTC

Post by *d »

>only shows the lines with differences including red colored line number of differences, but not the text itself.
maybe, unvisible characters, maybe you should scroll horizontally..
by the way,
there was suggestion to show unvisible characters:
http://ghisler.ch/board/viewtopic.php?t=17248
i had suggested to show in lister wrapped parts of lines:
http://ghisler.ch/board/viewtopic.php?t=16737
Post Reply