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
Tobias Hunger
qt-creator
Commits
8433ba2d
Commit
8433ba2d
authored
Jun 26, 2009
by
Roberto Raggi
Browse files
Store the NameAST*
parent
fd8cd69a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppeditor.cpp
View file @
8433ba2d
...
...
@@ -182,14 +182,14 @@ public:
{
}
struct
Use
{
Simple
NameAST
*
name
;
NameAST
*
name
;
unsigned
line
;
unsigned
column
;
unsigned
length
;
Use
(){}
Use
(
Simple
NameAST
*
name
,
unsigned
line
,
unsigned
column
,
unsigned
length
)
Use
(
NameAST
*
name
,
unsigned
line
,
unsigned
column
,
unsigned
length
)
:
name
(
name
),
line
(
line
),
column
(
column
),
length
(
length
)
{}
};
...
...
@@ -879,7 +879,7 @@ static void highlightUses(QTextDocument *doc,
QList
<
QTextEdit
::
ExtraSelection
>
*
selections
)
{
foreach
(
const
FindUses
::
Use
&
use
,
uses
)
{
Simple
NameAST
*
name
=
use
.
name
;
NameAST
*
name
=
use
.
name
;
bool
generated
=
false
;
for
(
unsigned
tk
=
name
->
firstToken
(),
end
=
name
->
lastToken
();
tk
!=
end
;
++
tk
)
{
...
...
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