When you compare two files, with one file (on the right) having some additional lines,
copy some text from the left, including the empty space without line numbers.
When inserting the copied passage on the other side,
a new line is added on the right panel for every non-existing line within the copied range on the left panel.
Screenshots available from copy, paste and result.
=> I think, lines that do not exist yet (which means they don't have a line number),
should not be copied to clipboard, should they?
Compare by Content, Editmode: copies non-existing lines
Moderators: Hacker, petermad, Stefan2, white
Compare by Content, Editmode: copies non-existing lines
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: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed I thought about this a lot, but decided to implement it this way just because the user selected these lines! It would look strange if only the lines with text would be inserted. The user can still delete the lines if he doesn't want them.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I agree with StatusQuo, lines without line numbers should not be copied to clipboard. Empty lines with line number should be copied.ghisler(Author) wrote:Indeed I thought about this a lot, but decided to implement it this way just because the user selected these lines! It would look strange if only the lines with text would be inserted. The user can still delete the lines if he doesn't want them.
Note that when you use the Copy buttons no lines are created for empty lines without line number.
When testing this I found the following:
When copying lines without line number, one empty line too many is created. Example:
* Mark an empty line without line number and copy to clipboard. Pasting this line will add two empty lines instead of one.