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
c552e26b
Commit
c552e26b
authored
Dec 01, 2010
by
Rhys Weatherley
Browse files
Recognize all keywords during autocompletion
parent
16862432
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/glsleditor/glslcodecompletion.cpp
View file @
c552e26b
...
...
@@ -631,7 +631,7 @@ int CodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
// parse the expression
GLSL
::
Engine
engine
;
GLSL
::
Parser
parser
(
&
engine
,
code
,
code
.
size
(),
GLSL
::
Lexer
::
Variant_
GLSL_Qt
);
GLSL
::
Parser
parser
(
&
engine
,
code
,
code
.
size
(),
GLSL
::
Lexer
::
Variant_
All
);
GLSL
::
ExpressionAST
*
expr
=
parser
.
parseExpression
();
#if 0
...
...
Write
Preview
Supports
Markdown
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