Fixed syntax highlight of ifdefed-out code.

Done with mae
This commit is contained in:
Roberto Raggi
2009-10-08 12:57:26 +02:00
parent 37a713bc6d
commit 1bb9a24517
3 changed files with 19 additions and 26 deletions

View File

@@ -298,6 +298,8 @@ QColor FormatDescription::background() const
return QColor(220, 220, 220);
} else if (m_name == QLatin1String(Constants::C_OCCURRENCES_RENAME)) {
return QColor(255, 200, 200);
} else if (m_name == QLatin1String(Constants::C_DISABLED_CODE)) {
return QColor(239, 239, 239);
}
return QColor(); // invalid color
}