forked from qt-creator/qt-creator
TextEditor: Add dedicated text style for C++ concepts
Fixes: QTCREATORBUG-29286 Change-Id: Ifc89bad0b84dfdbcac0720fc59799edd461c00bb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -326,8 +326,10 @@ void doSemanticHighlighting(
|
||||
styles.mainStyle = C_PARAMETER;
|
||||
} else if (token.type == "macro") {
|
||||
styles.mainStyle = C_MACRO;
|
||||
} else if (token.type == "type" || token.type == "concept") {
|
||||
} else if (token.type == "type") {
|
||||
styles.mainStyle = C_TYPE;
|
||||
} else if (token.type == "concept") {
|
||||
styles.mainStyle = C_CONCEPT;
|
||||
} else if (token.type == "modifier") {
|
||||
styles.mainStyle = C_KEYWORD;
|
||||
} else if (token.type == "label") {
|
||||
|
||||
Reference in New Issue
Block a user