Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
Qt Creator 4.2.0-rc1
-
Linux, OSX
Description
Steps to reproduce:
- create Widget Application from template
- add some members to the mainwindow.h with names longer than 3 letters
- switch back to the mainwindow.cpp, place cursor at the end of the line
ui->setupUi(this);
and hit Enter/Return
- start typing 3 letters of one of the members
- generic proposal widget comes up
- hit Shift+Del
- generic proposal widget stays open (Note: I'd say this should close here already)
- hit Enter/Return
- current selected stuff (should be most likely the member you've started typing) is inserted kind of wrong (feels like the starting position for inserting is still the same as before removing the line and this results in removing the closing curly brace of the ctor up to the first char of the dtor)
Note: this can be reproduced with a Quick Application as well when opening a qml file and trying to add a new member assignment inside any qml item and following the steps from "start typing..." on.