I have checked this now:
1. I think it's a good idea to handle this differently: Currently pressing delete on a selection of lines removes those lines and brings the characters behind the selection to the first line. Total Commander doesn't distinguish between an empty line and a placeholder line in this case, so you get an empty line. In your example, the last line of the selection is just a placeholder, so it's better to make the first line a placeholder after "del".
2. The selection in the other panel isn't currently updated when making changes in the active panel. I will try to do this. The selection isn't part of the text, it's stored as "line a character b to line c character d". So when the lines are moved, the selection would have to be moved too.
Your second message describes the same problem as 2. I will try to move the selection with the text. But since the recomparison can tear the lines apart, I will have to reduce the selection to one line.
1. I think it's a good idea to handle this differently: Currently pressing delete on a selection of lines removes those lines and brings the characters behind the selection to the first line. Total Commander doesn't distinguish between an empty line and a placeholder line in this case, so you get an empty line. In your example, the last line of the selection is just a placeholder, so it's better to make the first line a placeholder after "del".
2. The selection in the other panel isn't currently updated when making changes in the active panel. I will try to do this. The selection isn't part of the text, it's stored as "line a character b to line c character d". So when the lines are moved, the selection would have to be moved too.
Your second message describes the same problem as 2. I will try to move the selection with the text. But since the recomparison can tear the lines apart, I will have to reduce the selection to one line.
Statistics: Posted by ghisler(Author) — 2025-03-31, 08:55 UTC