IDEA-105409 Replace All is very slow when used with reg exp option

This commit is contained in:
andrey.zaytsev
2013-04-30 15:32:48 +04:00
parent 1a8f704eb2
commit 3682de8fa9
@@ -152,7 +152,7 @@ public abstract class FindManager {
*/
public abstract String getStringToReplace(@NotNull String foundString, @NotNull FindModel model) throws MalformedReplacementStringException;
public abstract String getStringToReplace(@NotNull String foundString, @NotNull FindModel model,
int startOffset, @NotNull String documentText) throws MalformedReplacementStringException;
int startOffset, @NotNull CharSequence documentText) throws MalformedReplacementStringException;
/**
* Gets the flag indicating whether the "Find Next" and "Find Previous" actions are