diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2017-07-24 20:55:47 +0200 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2017-09-19 08:24:38 +0000 |
commit | 632f2a77098e57eeecdaac39efd32741dfc68e76 (patch) | |
tree | 80fa68fca6f958eadd0f095df02a48cb2e438d3f /tests/cpplocators | |
parent | 2fb54abd03d71e1e205a1dc6f94769688d1bc2e0 (diff) |
Locator: Add camel hump locator filter for C++, QML, and files
* Use the CamelHumpMatcher in the C++, QML, and files filters
* Supports matching against UpperCamelCase, lowerCamelCase
and snake_case strings
* Supports highlighting of matched characters
Task-number: QTCREATORBUG-3111
Started-by: David Kaspar <dkaspar@blackberry.com>
Change-Id: If6220191432ef965bde3c8dbe4a10d89e222ba6f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'tests/cpplocators')
-rw-r--r-- | tests/cpplocators/testdata_basic/file1.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cpplocators/testdata_basic/file1.cpp b/tests/cpplocators/testdata_basic/file1.cpp index 98a5375237..5c1e3caff3 100644 --- a/tests/cpplocators/testdata_basic/file1.cpp +++ b/tests/cpplocators/testdata_basic/file1.cpp @@ -12,6 +12,10 @@ int myVariable; int myFunction(bool yesno, int number) {} +void pointOfService() {} +int getPosition() { return 0; } +int positiveNumber() { return 2; } + enum MyEnum { V1, V2 }; class MyClass |