Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
Qt Creator 2.5.0
-
None
-
Linux : Ubuntu12.10 64bit alpha1
Description
Please look for the original report at:
https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1013169
---------------------------------------------------
I am on Ubuntu12.10 alpha1 64bit with qtcreator 2.5.0-1.
On trying arround with C++11 code the qtcreator intelli sense brings the cursor to the next line in the wrong position. Look at the snippet:
using Data=vector<int>; auto sum(Data &data) -> int {int r{0}; for(auto e : data) r+=e; return r;
last line "return r;" should not be on the right side.
Additional to this on every next enter pressing the curser in further moving to the right.
I would expect:
using Data=vector<int>; auto sum(Data &data) -> int {int r{0}; for(auto e : data) r+=e; return r;
--------------------------------------------
I attach a source file with the snipped and a screenshot of qtcreator, because I am not so sure that lauchpad keeps the formatting correct.