C++: Change back highlighting of types

The type highlighting change part of the recent patch
4a2a17af8a didn't seem to
please much from a visual point of view. It's a better
idea to keep the type highlighting as it was for now
and in the future try again the approach with an explicit
option and perhaps a more restrictive context.

The other patch is not reverted entirely because it does
fix a couple of bugs.

Change-Id: I806afa3d8c1c4b241080b8704255d737f61ee12c
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
Leandro Melo
2012-07-17 16:12:03 +02:00
parent 9b5afad239
commit 441c652ce5
2 changed files with 1 additions and 2 deletions

View File

@@ -144,7 +144,6 @@ TextEditorSettings::TextEditorSettings(QObject *parent)
formatDescriptions.append(FormatDescription(C_STATIC, tr("Static"), Qt::darkMagenta));
Format functionFormat;
functionFormat.setForeground(QColor(60, 60, 60)); // very dark grey
formatDescriptions.append(FormatDescription(C_FUNCTION, tr("Function"), functionFormat));
functionFormat.setItalic(true);
formatDescriptions.append(FormatDescription(C_VIRTUAL_METHOD, tr("Virtual Method"), functionFormat));