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

Empty /// line DoxyGen comments confuse syntax highlighter (regression to Beta)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 2.7.0
    • Qt Creator 2.7.0-rc
    • C/C++/Obj-C++ Support
    • None
    • Mac OS X 10.8.3
      Ubuntu Linux 12.04.2 LTS 64-bit

      Using ///<LF> (aka C++ DoxyGen comments) without any trailing characters confuse syntax highlighter, causing all highlight to be shifted one line down, per single line.

      Try opening attached .h file. Or type in the newly opened C++ header editor:

      Unable to find source-code formatter for language: highlight_bug.h. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      /// 1
      ///
      /// 2
      ///
      /// 2
      ///
      /// 3
      
      template <typename PixelType,
                typename LORType,
                typename SType = int,
                typename HitType = int>
      class MatrixPixelMajor {
       public:
        typedef PixelType Pixel;
        typedef LORType LOR;
        typedef SType S;
        typedef HitType Hit;
      };
      

      This problem doesn't affect previous Beta, so it was introduced somewhere in after Beta, and only affects RC.

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

            kosjar Nikolai Kosjar
            ono Adam Strzelecki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes