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
Tobias Hunger
qt-creator
Commits
df56b106
Commit
df56b106
authored
Jan 14, 2009
by
Roberto Raggi
Browse files
Don't add the objc++ keywords to the completion box.
parent
cac3bd17
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppcodecompletion.cpp
View file @
df56b106
...
...
@@ -765,7 +765,7 @@ bool CppCodeCompletion::completeScope(const QList<TypeOfExpression::Result> &res
void
CppCodeCompletion
::
addKeywords
()
{
// keyword completion items.
for
(
int
i
=
T_FIRST_KEYWORD
;
i
<
T_FIRST_
Q
T_KEYWORD
;
++
i
)
{
for
(
int
i
=
T_FIRST_KEYWORD
;
i
<
T_FIRST_
OBJC_A
T_KEYWORD
;
++
i
)
{
TextEditor
::
CompletionItem
item
(
this
);
item
.
m_text
=
QLatin1String
(
Token
::
name
(
i
));
item
.
m_icon
=
m_icons
.
keywordIcon
();
...
...
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