Claus Pedersen
Member³
I have three lines in the editor (new option 'Delete unindents' is enabled):
I place the cursor on position one on first line and press Shift and two times Down-Arrow (to mark the first two lines) and press Delete.
The two first lines are deleted (OK), but the spaces before "ccc" are also deleted. This is probably not by design.
Pressing delete on marked text should only delete the marked text (including new line) and the new option 'Delete unindents' should not be activated.
Pressing Ctrl-Z one time illustrates what has happened: now the spaces before "ccc" are back. Pressing Ctrl-Z again puts the lines with "aaa" and "bbb" back again.
So it seems that one press on Delete performs two actions. First it deletes the marked lines and then it unindents.
Only the marked lines should be deleted when I press Delete. If I want to unindent, I must should Delete again.
Code:
aaa
bbb
ccc
I place the cursor on position one on first line and press Shift and two times Down-Arrow (to mark the first two lines) and press Delete.
The two first lines are deleted (OK), but the spaces before "ccc" are also deleted. This is probably not by design.
Pressing delete on marked text should only delete the marked text (including new line) and the new option 'Delete unindents' should not be activated.
Pressing Ctrl-Z one time illustrates what has happened: now the spaces before "ccc" are back. Pressing Ctrl-Z again puts the lines with "aaa" and "bbb" back again.
So it seems that one press on Delete performs two actions. First it deletes the marked lines and then it unindents.
Only the marked lines should be deleted when I press Delete. If I want to unindent, I must should Delete again.