consider highligting of the part of the file (like setting marks
around a block of code) a separate operation. Say I highlighted a 10
line block, cut it, moved the cursor to another place in the file and
pasted the block there. Then I wanted to actually decrease the amount
of moved code. I hit undo a few times, it does put the code back where
it came from, but it skips the highlighting step, so at this time, if
I wanted to move a 9 line block instead of 10 - I need to highlight
the entire block again instead of just shrinking the highlighted area
I can only offer a workaround (or a change of working habits):
0.) Paste the 10 lines: C-y or with middle mouse button.
1.) Kill the superfluous 10th line.
2.) Go back where you you killed the 10 lines C-u C-SPC C-u C-SPC
3.) Type C-y again
by a line. Is there a way to make it consider highligting a part of
the command sequence and folow it in the undo path?
by a line. Is there a way to make it consider highligting a part of
A good question, I hope others can answer it.
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany