|
|
|
@ -103,7 +103,7 @@ namespace SearchAndReplace |
|
|
|
SetSearchOptions(); |
|
|
|
SetSearchOptions(); |
|
|
|
ClearSelection(); |
|
|
|
ClearSelection(); |
|
|
|
find.Reset(); |
|
|
|
find.Reset(); |
|
|
|
if (!find.SearchStrategy.CompilePattern()) |
|
|
|
if (!find.SearchStrategy.CompilePattern(monitor)) |
|
|
|
return; |
|
|
|
return; |
|
|
|
List<TextEditorControl> textAreas = new List<TextEditorControl>(); |
|
|
|
List<TextEditorControl> textAreas = new List<TextEditorControl>(); |
|
|
|
int count; |
|
|
|
int count; |
|
|
|
@ -128,7 +128,7 @@ namespace SearchAndReplace |
|
|
|
SetSearchOptions(); |
|
|
|
SetSearchOptions(); |
|
|
|
find.Reset(); |
|
|
|
find.Reset(); |
|
|
|
|
|
|
|
|
|
|
|
if (!find.SearchStrategy.CompilePattern()) |
|
|
|
if (!find.SearchStrategy.CompilePattern(monitor)) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
List<TextEditorControl> textAreas = new List<TextEditorControl>(); |
|
|
|
List<TextEditorControl> textAreas = new List<TextEditorControl>(); |
|
|
|
@ -191,7 +191,7 @@ namespace SearchAndReplace |
|
|
|
SetSearchOptions(); |
|
|
|
SetSearchOptions(); |
|
|
|
ClearSelection(); |
|
|
|
ClearSelection(); |
|
|
|
find.Reset(); |
|
|
|
find.Reset(); |
|
|
|
if (!find.SearchStrategy.CompilePattern()) |
|
|
|
if (!find.SearchStrategy.CompilePattern(monitor)) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
List<TextEditorControl> textAreas = new List<TextEditorControl>(); |
|
|
|
List<TextEditorControl> textAreas = new List<TextEditorControl>(); |
|
|
|
@ -239,7 +239,7 @@ namespace SearchAndReplace |
|
|
|
SetSearchOptions(); |
|
|
|
SetSearchOptions(); |
|
|
|
find.Reset(); |
|
|
|
find.Reset(); |
|
|
|
|
|
|
|
|
|
|
|
if (!find.SearchStrategy.CompilePattern()) |
|
|
|
if (!find.SearchStrategy.CompilePattern(monitor)) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
for (int count = 0;; count++) { |
|
|
|
for (int count = 0;; count++) { |
|
|
|
@ -274,7 +274,7 @@ namespace SearchAndReplace |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!find.SearchStrategy.CompilePattern()) { |
|
|
|
if (!find.SearchStrategy.CompilePattern(monitor)) { |
|
|
|
find.Reset(); |
|
|
|
find.Reset(); |
|
|
|
lastResult = null; |
|
|
|
lastResult = null; |
|
|
|
return; |
|
|
|
return; |
|
|
|
@ -319,7 +319,7 @@ namespace SearchAndReplace |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!find.SearchStrategy.CompilePattern()) { |
|
|
|
if (!find.SearchStrategy.CompilePattern(monitor)) { |
|
|
|
find.Reset(); |
|
|
|
find.Reset(); |
|
|
|
lastResult = null; |
|
|
|
lastResult = null; |
|
|
|
return; |
|
|
|
return; |
|
|
|
|