Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
Qt Creator 2.7.0-rc
-
None
-
Mac OS X 10.8.3
Ubuntu Linux 12.04.2 LTS 64-bit
Description
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.
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-8921 Wrong highlighting due to "///" doxygen comment
-
- Closed
-