Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-3498

Auto indent messes up correctly indented lines when pasting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.0.1, Qt Creator 2.1.0-rc1, Qt Creator 2.2.0
    • Editors
    • None

    Description

      1. Take these lines:
        void funktion(int a,
                      int b,
                      )
        {
        }
        
      2. Select and copy "int a, int b", including the line break and the whitespace characters.
      3. Paste this to the next line, right before the closing parenthesis. Auto indentation will result in the following:
        void funktion(int a,
                      int b,
                      int a,
                                    int b)
        {
        }
        

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes