In qt bugtracker:

https://bugreports.qt-project.org/browse/QTCREATORBUG-7555

** Also affects: qt
   Importance: Undecided
       Status: New

** Description changed:

  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;
+                                                       for(auto e : data) r+=e;
+                                                                               
                  return r;
  
- last line "return r;" should not be onnthe right side.
+ 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;
+                                                       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
+  TERM=xterm
+  PATH=(custom, no username)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: qtcreator
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  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;
+                              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)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, 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

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

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to