Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
38f4693d
Commit
38f4693d
authored
Mar 02, 2009
by
Roberto Raggi
Browse files
Fixed the highlighy of objc++ string literals.
parent
00a9c053
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cpphighlighter.cpp
View file @
38f4693d
...
...
@@ -127,7 +127,8 @@ void CppHighlighter::highlightBlock(const QString &text)
else
if
(
tk
.
is
(
T_INT_LITERAL
)
||
tk
.
is
(
T_FLOAT_LITERAL
))
setFormat
(
tk
.
position
(),
tk
.
length
(),
m_formats
[
CppNumberFormat
]);
else
if
(
tk
.
is
(
T_STRING_LITERAL
)
||
tk
.
is
(
T_CHAR_LITERAL
)
||
tk
.
is
(
T_ANGLE_STRING_LITERAL
))
else
if
(
tk
.
is
(
T_STRING_LITERAL
)
||
tk
.
is
(
T_CHAR_LITERAL
)
||
tk
.
is
(
T_ANGLE_STRING_LITERAL
)
||
tk
.
is
(
T_AT_STRING_LITERAL
))
setFormat
(
tk
.
position
(),
tk
.
length
(),
m_formats
[
CppStringFormat
]);
else
if
(
tk
.
is
(
T_WIDE_STRING_LITERAL
)
||
tk
.
is
(
T_WIDE_CHAR_LITERAL
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment