[TC 11.01] Compare by Content: F2 and Shift+F2 peculiarities

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.01] Compare by Content: F2 and Shift+F2 peculiarities

Post by *white »

ghisler(Author) wrote: 2023-10-25, 13:35 UTC No, I'm doing a normal beep there. But doesn't it jump to the next position then, so it doesn't matter?
Yes, it matters. The fix was to prevent queuing of beep sounds to prevent that a beep sound is played later when you are doing something else. When I press and hold down Shift+F2 for some time, then release the keys, then move around the file, then suddenly a beep sound is played.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.01] Compare by Content: F2 and Shift+F2 peculiarities

Post by *ghisler(Author) »

Oh, I found the reason why there is a normal beep: I'm using a different function when you press Shift+F2 vs. when you click on "Previous difference", while I use the same function for "Next difference" (plus extra code within the line). I only added the delayed beep to "Previous difference" and "Next difference", but not to Shift+F2.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.01] Compare by Content: F2 and Shift+F2 peculiarities

Post by *white »

history.txt wrote: 26.10.23 Fixed: Compare by content, previous difference within a line (Shift+F2): Don't repeat beep for 1 second when nothing is found, otherwise no beep may be played at all (32/64)
Tested OK using TC 11.02rc5 32-bit and 64-bit.

Moderator message from: white » 2023-10-30, 12:15 UTC

Moved to Fixed bugs.
Post Reply