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

Multi-line comment doesn't indent correctly if closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • Qt Creator 15.0.0
    • Qt Creator 14.0.0-rc1, Qt Creator 15.0.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • All
    • 1537163cc (master)

    Description

      If I open multi-line comment /* and write eg. aaa<enter>bbb<enter> then it correctly indents.

      But when the comment is also closed eg. /* |aaa<enter> */ - then the next line isn't correctly indented, it always starts at cursor index position 0 or 1.

      The difference is in that ending */, in this case, the indent doesn't work as expected.

      I'm attaching a video to show it here (it exceeded 30MB limit, so uploading to GDrive, also added 7z archive).

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            silverq Silver Zachara
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes