qtcreator inellisense is setting cursor to wrong position in next line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Qt |
New
|
Undecided
|
Unassigned | ||
qtcreator (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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};
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};
-------
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.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: qtcreator 2.5.0-1ubuntu1
ProcVersionSign
Uname: Linux 3.4.0-5-generic x86_64
ApportVersion: 2.2.2-0ubuntu2
Architecture: amd64
Date: Thu Jun 14 14:41:09 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120510)
ProcEnviron:
TERM=xterm
PATH=(custom, no username)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: qtcreator
UpgradeStatus: No upgrade log present (probably fresh install)
It is like I have thought. Launchpad das dismissed the formatting, but you could still see that I ment that "return r;" should be direct under the "for"