When compare contents some lines are not drawn

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
radek.cervinka
Junior Member
Junior Member
Posts: 3
Joined: 2011-01-26, 13:03 UTC

When compare contents some lines are not drawn

Post by *radek.cervinka »

I have two CSV files. When comparing, some lines are not painted (blank lines), but when selected Copy Selection to clipboard via popupmenu -> item is copied.

Important: lines are very long > 4000 bytes. Lines with length about 2900 bytes are painted correctly.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is a known problem on some display drivers, they fail to display such long lines (the command is just ignored).
Author of Total Commander
https://www.ghisler.com
radek.cervinka
Junior Member
Junior Member
Posts: 3
Joined: 2011-01-26, 13:03 UTC

Post by *radek.cervinka »

Thank you for reply.

I tried this on Intel Graphics 4500 (this is very common current notebook card) on current Thinkpad and ATI Mobility Radeon X1300.
Both has same problem. So for me look like frequent problem.

Interesting is that, when I tried load this text to TMemo or TList (Delphi 5 or 2010), both work good and display all text.

Maybe some workaround (like draw only first 3K and rest replace with ...) will be good.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem is how to handle mixed left to right and right to left text when splitting up the string. Maybe the windows controls now use Uniscribe like Lister does to handle these strings?
Author of Total Commander
https://www.ghisler.com
Post Reply