Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.0.0-beta1
-
None
-
Windows 7 x64
-
5a8501ffafd24725106b687c8c658354bb370f26 (qt-creator/qt-creator/master)
Description
Paste the following snippet into an empyt C++ file:
int foo(int bar) { int foo; return foo }
- Add the missing semicolon after foo
- Goto line 3, place cursor in bar, Refactor -> Rename Usages
- Change to "baz", but do not press Enter
- The light bulb appears
- While the red frame is still active, press Ctrl+Z (undo)
- The cursor moved to the last line and deleted the semicolon
In larger files, more things happen, like removing the last inserted (and commited to git) line, but this is the smallest example I can come up with.