-
Notifications
You must be signed in to change notification settings - Fork 228
Replace TextMatcher in favor of extended StringMatcher #2672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace TextMatcher in favor of extended StringMatcher #2672
Conversation
The functionality of the TextMatcher has been integrated in the StringMatcher class from the Equinox bundle, which allows this class to be used without a dependency to the Eclipse UI bundle. Note: To get the same behavior as the TextMatcher, one needs to call matchWords() instead of match(). Furthermore, the pattern needs to be trimmed explicitly, where needed. Contributes to eclipse-platform#2567
Please update bundle requirements to expect minimal version of equinox containing the new API |
Test Results 1 818 files - 3 1 818 suites - 3 1h 37m 56s ⏱️ + 6m 51s Results for commit ce5e412. ± Comparison against base commit 58bb65c. This pull request removes 6 tests. |
The Equinox bundle is re-exported by |
If core.runtime reexports new equinox API amd in this release didn't increased minor version segment, it has to bump it and after that the ui bundles that consume new API should update minimal range of core.runtime. |
New API has been added to the StringMatcher, which is going to be used in the Platform UI bundles. See eclipse-platform/eclipse.platform.ui#2672
New API has been added to the StringMatcher, which is going to be used in the Platform UI bundles. See eclipse-platform/eclipse.platform.ui#2672
|
I still haven't updated the lower bound for the dependency to org.eclipse.core.runtime, though... |
Please push another PR for this. |
|
@vogella : please next time before merge read comments on PR. |
The functionality of the TextMatcher has been integrated in the StringMatcher class from the Equinox bundle, which allows this class to be used without a dependency to the Eclipse UI bundle.
Note: To get the same behavior as the TextMatcher, one needs to call matchWords() instead of match(). Furthermore, the pattern needs to be trimmed explicitly, where needed.
Contributes to
#2567