From 9ac6ca95c4bba9c50d6dbe4b6c1f22d1499ce600 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Wed, 22 Jul 2020 11:55:11 +0200 Subject: [PATCH] Implement Duplicate --- src/JSONEditor.svelte | 70 ++++++++++++++++++++++++----------- src/operations.js | 64 ++++++++++++++++++++++++++++++-- src/selection.js | 30 +++++++++++++++ src/utils/stringUtils.js | 5 ++- src/utils/stringUtils.test.js | 3 ++ src/utils/updateProps.js | 2 +- 6 files changed, 146 insertions(+), 28 deletions(-) diff --git a/src/JSONEditor.svelte b/src/JSONEditor.svelte index 1fae384..95dbc6c 100644 --- a/src/JSONEditor.svelte +++ b/src/JSONEditor.svelte @@ -1,7 +1,7 @@