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
4cb87c3e
Commit
4cb87c3e
authored
Nov 30, 2010
by
Christian Kamm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QmlJS: Don't trigger completion for '/' outside string literals.
Reviewed-by: Roberto Raggi
parent
8a89a8bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/plugins/qmljseditor/qmljscodecompletion.cpp
src/plugins/qmljseditor/qmljscodecompletion.cpp
+2
-0
No files found.
src/plugins/qmljseditor/qmljscodecompletion.cpp
View file @
4cb87c3e
...
...
@@ -537,6 +537,8 @@ bool CodeCompletion::triggersCompletion(TextEditor::ITextEditable *editor)
break
;
}
}
if
(
ch
==
QLatin1Char
(
'/'
))
return
false
;
}
return
true
;
}
...
...
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