Commit b98fbf68 authored by Roberto Raggi's avatar Roberto Raggi

Use the hardcoded lightGray background for marking the uses of a local name.

parent 27f92695
...@@ -915,8 +915,7 @@ void CPPEditor::updateMethodBoxIndexNow() ...@@ -915,8 +915,7 @@ void CPPEditor::updateMethodBoxIndexNow()
QTextCharFormat format; QTextCharFormat format;
format.setUnderlineColor(Qt::darkGray); format.setBackground(Qt::lightGray);
format.setUnderlineStyle(QTextCharFormat::DashUnderline);
FindLocals findLocals(control); FindLocals findLocals(control);
const FindLocals::UseMap useMap = findLocals(currentFunctionDefinition); const FindLocals::UseMap useMap = findLocals(currentFunctionDefinition);
FindLocals::UseIterator it(useMap); FindLocals::UseIterator it(useMap);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment