Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 6.0.2
-
None
-
a1cc9b4e5c (qt-creator/qt-creator/7.0) a1cc9b4e5c (qt-creator/qt-creator/master) a1cc9b4e5c (qt-creator/tqtc-qt-creator/7.0) a1cc9b4e5c (qt-creator/tqtc-qt-creator/master) a1cc9b4e5c (qt-creator/tqtc-qt-creator/qds-3.1)
Description
When I have
foo-bar
// baz
and the cursor is in position just before 'baz' (col:4)
I press 3x <backspace> to remove the space in front of baz and the two '/'.
The result looks like
foo-bar baz
with the cursor in front of 'baz' (col:1)
Now I press <cursor-up> and I would expect that the cursor is in front of the first foo (so col:1)
Instead the cursor is between 'foo' and '-bar' in col:4 again, where it was before I started deletion 3x.
This is a new unexpected behavior.
It might be nice, if the line 'foo-bar' would have had also '// ' in front, but this is not the case.