Commit 3db7bf9b authored by Milian Wolff's avatar Milian Wolff
Browse files

Don't include Highlight Uses in configurable colors

This attribute is special and should stay in sync with the
attribute that ktexteditor uses to highlight equal words.
The user can already configure its color through the editor colors
of the editor theme.
parent dc416f33
......@@ -72,8 +72,6 @@ CodeHighlightingType highlightingTypeFromName(const QString& name)
return CodeHighlightingType::Macro;
} else if (name == QLatin1String("Macro Function")) {
return CodeHighlightingType::MacroFunctionLike;
} else if (name == QLatin1String("Highlight Uses")) {
return CodeHighlightingType::HighlightUses;
} else if (name == QLatin1String("Error Variable")) {
return CodeHighlightingType::ErrorVariable;
......@@ -34,7 +34,6 @@
<itemData name="Enumerator" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Macro" defStyleNum="dsPreprocessor" spellChecking="false" />
<itemData name="Macro Function" defStyleNum="dsPreprocessor" spellChecking="false" />
<itemData name="Highlight Uses" defStyleNum="dsNormal" spellChecking="false" />
<itemData name="Error Variable" defStyleNum="dsError" spellChecking="false" />
Supports Markdown
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