forked from qt-creator/qt-creator
Editor: Make parenthese mismatch color configurable.
Task-number: QTCREATORBUG-14357 Change-Id: I92a0d50fb8f3448195f3d38f7544a31eb695733b Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -271,6 +271,8 @@ QColor FormatDescription::background() const
|
||||
return QColor(0xffef0b);
|
||||
} else if (m_id == C_PARENTHESES) {
|
||||
return QColor(0xb4, 0xee, 0xb4);
|
||||
} else if (m_id == C_PARENTHESES_MISMATCH) {
|
||||
return QColor(Qt::magenta);
|
||||
} else if (m_id == C_CURRENT_LINE || m_id == C_SEARCH_SCOPE) {
|
||||
const QPalette palette = QApplication::palette();
|
||||
const QColor &fg = palette.color(QPalette::Highlight);
|
||||
|
||||
Reference in New Issue
Block a user