Community
Participate
Working Groups
org.eclipse.ui.internal.misc.StringMatcher is an internal class intended to be removed in bug 563485. This could be replaced by API class org.eclipse.core.text.StringMatcher, available since org.eclipse.core.runtime 3.18.0. (If MsgEditorPreferences indeed needs the word-splitting behavior of o.e.ui.internal.misc.StringMatcher, then the replacement would be o.e.ui.internal.misc.TextMatcher, but that is also an internal class.) [1] https://git.eclipse.org/c/babel/plugins.git/tree/org.eclipse.babel.editor/src/org/eclipse/babel/editor/preferences/MsgEditorPreferences.java#n468
If the word-splitting is needed, or if you can't use org.eclipse.core.runtime 3.18.0, you could use import org.eclipse.ui.dialogs.SearchPattern; SearchPattern matcher = new SearchPattern(SearchPattern.RULE_PATTERN_MATCH); matcher.setPattern(pattern); SearchPattern is API, and should give the same behavior as new StringMatcher(pattern, true, false);
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.