- Select two files and open the Compare contents dialog (menu Files/Compare By Content).
- Press F6 to go into Edit mode.
- Hold down Ctrl-Right (keep it down) and look at the cursor running.
- When a line is empty and also does not have a line number the cursor will stop. This should not happen.
TC7rc4 - Compare By Content, Ctrl-Left/Right on empty line
Moderators: Hacker, petermad, Stefan2, white
TC7rc4 - Compare By Content, Ctrl-Left/Right on empty line
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
Like TC does in empty lines with line numbers greater than 0.ghisler(Author) wrote:There is no work in empty lines, so how should TC jump to a word in this case?
(Bold text is added later)
Last edited by white on 2007-05-07, 21:18 UTC, edited 1 time in total.
Which would be jumping to the first word found in the next lines.white wrote:Like TC does in empty lines with line numbers.ghisler(Author) wrote:There is no work in empty lines, so how should TC jump to a word in this case?
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!
-- TC starter menu: Fast yet descriptive command access!
Which would be jumping to the beginning of the next line.StatusQuo wrote: Which would be jumping to the first word found in the next lines.
Does not seem that way. If you type one or more characters on the line with line number 0 it works OK.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)?
You're right, I forgot that TC acts this way here.white wrote:Which would be jumping to the beginning of the next line.StatusQuo wrote: Which would be jumping to the first word found in the next lines.
[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!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
[OT]

[/OT]
Please have a look at this related thread.StatusQuo wrote: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!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Confirm fixed in TC7rc5.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Still the same behaviour here (no difference between right and Ctrl-right on empty lines),StatusQuo wrote:You're right, I forgot that TC acts this way here.white wrote:Which would be jumping to the beginning of the next line.StatusQuo wrote: Which would be jumping to the first word found in the next 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!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: