aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/texteditorsettings.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2021-10-27 13:46:15 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2021-10-28 10:04:57 +0000
commitd8d4739bc4519637dffd04ac19f72612c1c388da (patch)
treefe402cd16417764216d81ae27e5b6183188a4196 /src/plugins/texteditor/texteditorsettings.cpp
parent1a00bb50d444ded7211a78ffe306482effd04675 (diff)
TextEditor: Allow special highlighting for static members
Task-number: QTCREATORBUG-9659 Change-Id: Idae529fd876ba5f555c76e4d282efc9263263d6c Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditorsettings.cpp')
-rw-r--r--src/plugins/texteditor/texteditorsettings.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/texteditor/texteditorsettings.cpp b/src/plugins/texteditor/texteditorsettings.cpp
index aad1ac7a62..b2a77953df 100644
--- a/src/plugins/texteditor/texteditorsettings.cpp
+++ b/src/plugins/texteditor/texteditorsettings.cpp
@@ -361,6 +361,10 @@ FormatDescriptions TextEditorSettingsPrivate::initialFormats()
tr("Writable arguments of a function call."),
outputArgumentFormat,
FormatDescription::ShowAllControls);
+ formatDescr.emplace_back(C_STATIC_MEMBER,
+ tr("Static Member"),
+ tr("Names of static fields or member functions."),
+ FormatDescription::ShowAllControls);
return formatDescr;
}