Skip to content
GitLab
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
bb095fad
Commit
bb095fad
authored
Feb 05, 2009
by
Roberto Raggi
Committed by
Roberto Raggi
Feb 05, 2009
Browse files
Fixes: Highlighting of objc #import directive.
parent
4ffed7a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cpphighlighter.cpp
View file @
bb095fad
...
...
@@ -230,6 +230,8 @@ bool CppHighlighter::isPPKeyword(const QStringRef &text) const
case
6
:
if
(
text
.
at
(
0
)
==
'i'
&&
text
==
QLatin1String
(
"ifndef"
))
return
true
;
if
(
text
.
at
(
0
)
==
'i'
&&
text
==
QLatin1String
(
"import"
))
return
true
;
else
if
(
text
.
at
(
0
)
==
'd'
&&
text
==
QLatin1String
(
"define"
))
return
true
;
else
if
(
text
.
at
(
0
)
==
'p'
&&
text
==
QLatin1String
(
"pragma"
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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