forked from qt-creator/qt-creator
TextEditor/Clang: Add font settings for clang diagnostics
Change-Id: Iea2b4fabf0f4620b12f88b108eb59c160945c8d8 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
committed by
David Schulz
parent
408ac55741
commit
0d20d56183
@@ -276,6 +276,24 @@ TextEditorSettings::TextEditorSettings(QObject *parent)
|
||||
tr("Applied to lines describing changes in VCS log."),
|
||||
Format(QColor(192, 0, 0), QColor())));
|
||||
|
||||
formatDescr.append(FormatDescription(C_ERROR,
|
||||
tr("Error"),
|
||||
tr("Underline color of error diagnostics."),
|
||||
{{255,0, 0}, QColor()}));
|
||||
formatDescr.append(FormatDescription(C_ERROR_CONTEXT,
|
||||
tr("Error Context"),
|
||||
tr("Underline color of the contexts of error diagnostics."),
|
||||
{{255,0, 0}, QColor()}));
|
||||
formatDescr.append(FormatDescription(C_WARNING,
|
||||
tr("Warning"),
|
||||
tr("Underline color of warning diagnostics."),
|
||||
{{255, 190, 0}, QColor()}));
|
||||
formatDescr.append(FormatDescription(C_WARNING_CONTEXT,
|
||||
tr("Warning Context"),
|
||||
tr("Underline color of the contexts of warning diagnostics."),
|
||||
{{255, 190, 0}, QColor()}));
|
||||
|
||||
|
||||
d->m_fontSettingsPage = new FontSettingsPage(formatDescr,
|
||||
Constants::TEXT_EDITOR_FONT_SETTINGS,
|
||||
this);
|
||||
|
||||
Reference in New Issue
Block a user