forked from qt-creator/qt-creator
TextEditor: Allow special highlighting for static members
Task-number: QTCREATORBUG-9659 Change-Id: Idae529fd876ba5f555c76e4d282efc9263263d6c Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -1099,9 +1099,9 @@ void ClangdTestHighlighting::test_data()
|
||||
QTest::newRow("local variable captured by lambda") << 442 << 24 << 442 << 27
|
||||
<< QList<int>{C_LOCAL} << 0;
|
||||
QTest::newRow("static protected member") << 693 << 16 << 693 << 30
|
||||
<< QList<int>{C_FIELD, C_DECLARATION} << 0;
|
||||
<< QList<int>{C_FIELD, C_DECLARATION, C_STATIC_MEMBER} << 0;
|
||||
QTest::newRow("static private member") << 696 << 16 << 696 << 28
|
||||
<< QList<int>{C_FIELD, C_DECLARATION} << 0;
|
||||
<< QList<int>{C_FIELD, C_DECLARATION, C_STATIC_MEMBER} << 0;
|
||||
QTest::newRow("alias template declaration (opening angle bracket)") << 700 << 10 << 700 << 11
|
||||
<< QList<int>{C_PUNCTUATION} << int(CppEditor::SemanticHighlighter::AngleBracketOpen);
|
||||
QTest::newRow("alias template declaration (closing angle bracket)") << 700 << 16 << 700 << 17
|
||||
|
||||
Reference in New Issue
Block a user