aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/texteditorsettings.cpp
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2020-07-01 21:31:09 +0200
committerAndré Hartmann <aha_1980@gmx.de>2020-07-06 10:55:43 +0000
commitc9eedbe0f387f33e5e455af03a795d2114528543 (patch)
treea5227d843c2a2a667825c17acf1f7da3c6895885 /src/plugins/texteditor/texteditorsettings.cpp
parente3312205ed2fda1af25e70562ebbafa42b3ce7f8 (diff)
Git: Port colorful log to text colors
Fixes: QTCREATORBUG-24198 Change-Id: Icde06da5ac848fb0f7faf02a8e55fb26136f318c Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/texteditor/texteditorsettings.cpp')
-rw-r--r--src/plugins/texteditor/texteditorsettings.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/plugins/texteditor/texteditorsettings.cpp b/src/plugins/texteditor/texteditorsettings.cpp
index eb75f8aeb9..92b722bf3e 100644
--- a/src/plugins/texteditor/texteditorsettings.cpp
+++ b/src/plugins/texteditor/texteditorsettings.cpp
@@ -303,7 +303,21 @@ FormatDescriptions TextEditorSettingsPrivate::initialFormats()
formatDescr.emplace_back(C_LOG_CHANGE_LINE, tr("Log Change Line"),
tr("Applied to lines describing changes in VCS log."),
Format(QColor(192, 0, 0), QColor()));
-
+ formatDescr.emplace_back(C_LOG_AUTHOR_NAME, tr("Log Author Name"),
+ tr("Applied to author names in VCS log."),
+ Format(QColor("#007af4"), QColor()));
+ formatDescr.emplace_back(C_LOG_COMMIT_DATE, tr("Log Commit Date"),
+ tr("Applied to commit dates in VCS log."),
+ Format(QColor("#006600"), QColor()));
+ formatDescr.emplace_back(C_LOG_COMMIT_HASH, tr("Log Commit Hash"),
+ tr("Applied to commit hashes in VCS log."),
+ Format(QColor("#ff0000"), QColor()));
+ formatDescr.emplace_back(C_LOG_DECORATION, tr("Log Decoration"),
+ tr("Applied to commit decorations in VCS log."),
+ Format(QColor("#ff00ff"), QColor()));
+ formatDescr.emplace_back(C_LOG_COMMIT_SUBJECT, tr("Log Commit Subject"),
+ tr("Applied to commit subjects in VCS log."),
+ Format{QColor{}, QColor{}});
// Mixin categories
formatDescr.emplace_back(C_ERROR,