← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1013169] Re: qtcreator inellisense is setting cursor to wrong position in next line

 

Sounds like an upstream bug. Please follow the one you reported.

** Changed in: qtcreator (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator in Ubuntu.
https://bugs.launchpad.net/bugs/1013169

Title:
  qtcreator inellisense is setting cursor to wrong position in next line

Status in Qt:
  New
Status in “qtcreator” package in Ubuntu:
  Won't Fix

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};
                               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.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: qtcreator 2.5.0-1ubuntu1
  ProcVersionSignature: Ubuntu 3.4.0-5.11-generic 3.4.0
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1013169/+subscriptions