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
5073808c
Commit
5073808c
authored
Jul 20, 2010
by
Roberto Raggi
Browse files
Remember to clear the code semantic selections.
parent
ac124d39
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppeditor.cpp
View file @
5073808c
...
...
@@ -743,6 +743,11 @@ void CPPEditor::markSymbols(const QTextCursor &tc, const SemanticInfo &info)
m_referencesCursorPosition
=
position
();
m_references
=
QtConcurrent
::
run
(
&
lazyFindReferences
,
scope
,
expression
,
context
);
m_referencesWatcher
.
setFuture
(
m_references
);
}
else
{
const
QList
<
QTextEdit
::
ExtraSelection
>
selections
=
extraSelections
(
CodeSemanticsSelection
);
if
(
!
selections
.
isEmpty
())
setExtraSelections
(
CodeSemanticsSelection
,
QList
<
QTextEdit
::
ExtraSelection
>
());
}
}
...
...
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