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
480ae95c
Commit
480ae95c
authored
Aug 09, 2010
by
Roberto Raggi
Browse files
Renamed CPPEditor::highlightTypeUsages()
parent
acdbe05f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppeditor.cpp
View file @
480ae95c
...
...
@@ -411,8 +411,8 @@ CPPEditor::CPPEditor(QWidget *parent)
m_highlightRevision
=
0
;
m_nextHighlightBlockNumber
=
0
;
connect
(
&
m_highlightWatcher
,
SIGNAL
(
resultsReadyAt
(
int
,
int
)),
SLOT
(
highlight
Type
Usages
(
int
,
int
)));
connect
(
&
m_highlightWatcher
,
SIGNAL
(
finished
()),
SLOT
(
finish
Type
Usages
()));
connect
(
&
m_highlightWatcher
,
SIGNAL
(
resultsReadyAt
(
int
,
int
)),
SLOT
(
highlight
Symbol
Usages
(
int
,
int
)));
connect
(
&
m_highlightWatcher
,
SIGNAL
(
finished
()),
SLOT
(
finish
HighlightSymbol
Usages
()));
m_referencesRevision
=
0
;
m_referencesCursorPosition
=
0
;
...
...
@@ -969,7 +969,7 @@ void CPPEditor::updateUsesNow()
semanticRehighlight
();
}
void
CPPEditor
::
highlight
Type
Usages
(
int
from
,
int
to
)
void
CPPEditor
::
highlight
Symbol
Usages
(
int
from
,
int
to
)
{
if
(
editorRevision
()
!=
m_highlightRevision
)
return
;
// outdated
...
...
@@ -1035,7 +1035,7 @@ void CPPEditor::highlightTypeUsages(int from, int to)
}
}
void
CPPEditor
::
finish
Type
Usages
()
void
CPPEditor
::
finish
HighlightSymbol
Usages
()
{
if
(
editorRevision
()
!=
m_highlightRevision
)
return
;
// outdated
...
...
src/plugins/cppeditor/cppeditor.h
View file @
480ae95c
...
...
@@ -234,8 +234,8 @@ private Q_SLOTS:
void
semanticRehighlight
();
void
updateSemanticInfo
(
const
CppEditor
::
Internal
::
SemanticInfo
&
semanticInfo
);
void
highlight
Type
Usages
(
int
from
,
int
to
);
void
finish
Type
Usages
();
void
highlight
Symbol
Usages
(
int
from
,
int
to
);
void
finish
HighlightSymbol
Usages
();
void
markSymbolsNow
();
...
...
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