Editor: Highlight background for whitespaces in strings and comments
The whitespaces are now highlighted with the same backgroundcolor as the characters.
Also added a test for the Lexer.
Task-number: QTCREATORBUG-5802
Change-Id: Ic1bcd8cfe30d6b8a0281b7963eaab310f972b9d2
Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
Showing
- src/libs/3rdparty/cplusplus/Lexer.cpp 9 additions, 3 deletionssrc/libs/3rdparty/cplusplus/Lexer.cpp
- src/plugins/cppeditor/cpphighlighter.cpp 6 additions, 6 deletionssrc/plugins/cppeditor/cpphighlighter.cpp
- tests/auto/cplusplus/misc/tst_misc.cpp 112 additions, 0 deletionstests/auto/cplusplus/misc/tst_misc.cpp
Loading
Please register or sign in to comment