Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
e2079e32
Commit
e2079e32
authored
Feb 23, 2009
by
Roberto Raggi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Look at the char at the left of \ or @.
parent
65ff19e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/plugins/cpptools/cppcodecompletion.cpp
src/plugins/cpptools/cppcodecompletion.cpp
+1
-1
No files found.
src/plugins/cpptools/cppcodecompletion.cpp
View file @
e2079e32
...
...
@@ -391,7 +391,7 @@ static int startOfOperator(TextEditor::ITextEditable *editor,
}
else
if
(
ch3
==
QLatin1Char
(
'-'
)
&&
ch2
==
QLatin1Char
(
'>'
)
&&
ch
==
QLatin1Char
(
'*'
))
{
k
=
T_ARROW_STAR
;
start
-=
3
;
}
else
if
(
ch
==
QLatin1Char
(
'@'
)
||
ch
==
QLatin1Char
(
'\\'
))
{
}
else
if
((
ch2
.
isNull
()
||
ch2
.
isSpace
())
&&
(
ch
==
QLatin1Char
(
'@'
)
||
ch
==
QLatin1Char
(
'\\'
))
)
{
k
=
T_DOXY_COMMENT
;
--
start
;
}
...
...
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