TC7rc4 - Compare By Content, Ctrl-Left/Right on empty line

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

Moderators: white, Hacker, petermad, Stefan2

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

TC7rc4 - Compare By Content, Ctrl-Left/Right on empty line

Post by *white »

  1. Select two files and open the Compare contents dialog (menu Files/Compare By Content).
  2. Press F6 to go into Edit mode.
  3. Hold down Ctrl-Right (keep it down) and look at the cursor running.
  4. When a line is empty and also does not have a line number the cursor will stop. This should not happen.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Confirmed. Ctrl-right should jump to the next word, as it does in non-empty lines. Instead it doesn't move away from empty lines without a line number (number 0).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

There is no work in empty lines, so how should TC jump to a word in this case?
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

ghisler(Author) wrote:There is no work in empty lines, so how should TC jump to a word in this case?
Like TC does in empty lines with line numbers greater than 0.

(Bold text is added later)
Last edited by white on 2007-05-07, 21:18 UTC, edited 1 time in total.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

white wrote:
ghisler(Author) wrote:There is no work in empty lines, so how should TC jump to a word in this case?
Like TC does in empty lines with line numbers.
Which would be jumping to the first word found in the next lines.
Maybe it's difficult for the function to find out what line number is following after the inserted line "0" (47->0->48 here)?

Code: Select all

47: Text
 0: Text
48: Text
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

StatusQuo wrote: Which would be jumping to the first word found in the next lines.
Which would be jumping to the beginning of the next line.
StatusQuo wrote: Maybe it's difficult for the function to find out what line number is following after the inserted line "0" (47->0->48 here)?
Does not seem that way. If you type one or more characters on the line with line number 0 it works OK.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

white wrote:
StatusQuo wrote: Which would be jumping to the first word found in the next lines.
Which would be jumping to the beginning of the next line.
You're right, I forgot that TC acts this way here.

[OT]
This way on i.e. 50 empty lines, Ctrl-left/right has no advantage over not pressing the Ctrl key.
DOS's edit.com works better here, WordPad + Notepad (W2k) unfortunately not anymore.
I'm waiting for the day, when even space gets treated as a stop character... :|
Never mind, it could come worse. :)
[/OT]
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will skip these lines, thanks.
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

[OT]
StatusQuo wrote:I'm waiting for the day, when even space gets treated as a stop character... :|
Never mind, it could come worse. :)
Please have a look at this related thread. ;)
[/OT]
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Should be fixed in RC5, please test!
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Confirm fixed in TC7rc5.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for checking it!
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

StatusQuo wrote:
white wrote:
StatusQuo wrote: Which would be jumping to the first word found in the next lines.
Which would be jumping to the beginning of the next line.
You're right, I forgot that TC acts this way here.
Still the same behaviour here (no difference between right and Ctrl-right on empty lines),
but I fear that's by design... :|

Issue about stopped cursor: confirm fixed in RC5.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes it is!
Author of Total Commander
https://www.ghisler.com
Post Reply