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

Incorrect asterisk inserted when enter pressed in C++ editor.

    XMLWordPrintable

Details

    Description

      In a C++ file, type the following:

          *foo //
      

      Then press enter. You get

          *foo //
          *
      

      I presume this code is trying to handle comments like this:

          // * This is a comment with
          // * asterisks for some reason
          // *
      

      But it gets it wrong.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-13415
        # Subject Branch Project Status CR V

        Activity

          People

            kosjar Nikolai Kosjar
            timmmm Tim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes