forked from qt-creator/qt-creator
Disabled the highliting of unused symbols.
We need to port the code to use the new overloay system.
This commit is contained in:
@@ -1955,7 +1955,7 @@ void CPPEditor::updateSemanticInfo(const SemanticInfo &semanticInfo)
|
|||||||
|
|
||||||
if (uses.size() == 1) {
|
if (uses.size() == 1) {
|
||||||
// it's an unused declaration
|
// it's an unused declaration
|
||||||
highlightUses(uses, &allSelections);
|
// highlightUses(uses, &allSelections);
|
||||||
} else if (good) {
|
} else if (good) {
|
||||||
QList<QTextEdit::ExtraSelection> selections;
|
QList<QTextEdit::ExtraSelection> selections;
|
||||||
highlightUses(uses, &selections);
|
highlightUses(uses, &selections);
|
||||||
|
|||||||
Reference in New Issue
Block a user