forked from qt-creator/qt-creator
Allow configuring the color for the hover links
Cause blue doesn't fit nicely in all color schemes.
This commit is contained in:
@@ -65,6 +65,7 @@ TextEditorSettings::TextEditorSettings(QObject *parent)
|
||||
|
||||
// Special categories
|
||||
const QPalette p = QApplication::palette();
|
||||
formatDescriptions.push_back(FormatDescription(QLatin1String(C_LINK), tr("Link"), Qt::blue));
|
||||
formatDescriptions.push_back(FormatDescription(QLatin1String(C_SELECTION), tr("Selection"), p.color(QPalette::HighlightedText)));
|
||||
formatDescriptions.push_back(FormatDescription(QLatin1String(C_LINE_NUMBER), tr("Line Number")));
|
||||
formatDescriptions.push_back(FormatDescription(QLatin1String(C_SEARCH_RESULT), tr("Search Result")));
|
||||
|
||||
Reference in New Issue
Block a user