Suppose, in the Compare contents dialog (menu Files/Compare By Content), you opened two files as shown in this screen shot.
Go into Edit mode and press the Delete key.
The Undo button is enabled indicating something is changed. Like what?
Now place the cursor on the last non existing line and press the Delete key. Why is the line below moved up and why does this line gets line number 0? See screen shot.
TC7rc4 - Compare By Content, Deleting non existing lines
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It deletes the line break and combines the line with the next one, just like when you press del at the end of an existing line. Of course you don't see anything when the next line is empty too.The Undo button is enabled indicating something is changed. Like what?
For the same reason: The next line is combined with the current one into one (new) line.ow place the cursor on the last non existing line and press the Delete key. Why is the line below moved up and why does this line gets line number 0?
Try this: place the cursor behind "three" and press Del. The two are combined into one new line without the line break.
So the behaviour you see is intentional.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC7rc4 - Compare By Content, Deleting non existing lines
Fixed in TC7rc5.white wrote:Suppose, in the Compare contents dialog (menu Files/Compare By Content), you opened two files as shown in this screen shot.
Go into Edit mode and press the Delete key.
The Undo button is enabled indicating something is changed.
The rest is by design. This thread may be moved to "TC7 Behaviour which will not be changed".
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: