This is an automated email from the ASF dual-hosted git repository.
shanedell pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-vscode.git
The following commit(s) were added to refs/heads/main by this push:
new 47772f1 Data Editor: Don't Force Replace Operation with Invalid Input
47772f1 is described below
commit 47772f125b5e6e88c1eb272143e4f953523a9eaa
Author: Jeremy Yao <[email protected]>
AuthorDate: Mon Nov 10 10:56:04 2025 -0500
Data Editor: Don't Force Replace Operation with Invalid Input
Closes #1522
---
src/svelte/src/components/Header/fieldsets/SearchReplace.svelte | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/svelte/src/components/Header/fieldsets/SearchReplace.svelte
b/src/svelte/src/components/Header/fieldsets/SearchReplace.svelte
index 80bac4e..1b0d43b 100644
--- a/src/svelte/src/components/Header/fieldsets/SearchReplace.svelte
+++ b/src/svelte/src/components/Header/fieldsets/SearchReplace.svelte
@@ -137,7 +137,7 @@ limitations under the License.
}
function replaceStart() {
- if (replaceable) {
+ if (replaceable && !replaceErr) {
matchOffset = -1
replaceStarted = true
searchStarted = false