Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-7852 Refactoring of Code Folding
  3. QTCREATORBUG-7821

Commenting out a function corrupts folding icon place

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • Editors
    • None
    • Windows 7

    Description

      Folding a function is a usable feature of QtCreator. A folding icon is present right next to the function definition in cpp file. To reproduce the problem, suppose a file like:

      void func1()
      {
      //some implementation
      }

      void func2()
      {
      //some implementation
      }

      void func3()
      {
      //some implementation
      }

      Now if you comment out the func1 and your file looks like:
      //void func1()
      //

      { ////some implementation //}

      [Fold icon appears here on left side]
      void func2()
      {
      //some implementation
      }
      [no fold icons with this function]
      void func3()
      {
      //some implementation
      }

      Attachments

        1. test.cpp
          0.1 kB
        2. test.h
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            pkj Prashant
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes