Change-Id: I93c370e3d53b955057741bc3bf503e781fbb6244
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
\snippet widgets/richtext/syntaxhighlighter/highlighter.cpp 6
The C++ language has two variations of comments: The single line
- comment (\c //) and the multiline comment (\c{/*...}\starslash). The single
+ comment (\c //) and the multiline comment (\c{/*...*}\c{/}). The single
line comment can easily be defined through a highlighting rule
similar to the previous ones. But the multiline comment needs
special care due to the design of the QSyntaxHighlighter class.