@digipair/skill-web-jsoneditor 0.59.0 → 0.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +5 -5
- package/index.esm.js +5 -5
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -41691,7 +41691,7 @@ function findNextOccurrence(state, query) {
|
|
|
41691
41691
|
var _loop = function(cycled1, cursor1) {
|
|
41692
41692
|
cursor1.next();
|
|
41693
41693
|
if (cursor1.done) {
|
|
41694
|
-
if (cycled1) return
|
|
41694
|
+
if (cycled1) return cursor = cursor1, cycled = cycled1, {
|
|
41695
41695
|
v: null
|
|
41696
41696
|
};
|
|
41697
41697
|
cursor1 = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
|
|
@@ -41699,16 +41699,16 @@ function findNextOccurrence(state, query) {
|
|
|
41699
41699
|
} else {
|
|
41700
41700
|
if (cycled1 && ranges.some(function(r) {
|
|
41701
41701
|
return r.from == cursor1.value.from;
|
|
41702
|
-
})) return
|
|
41702
|
+
})) return cursor = cursor1, cycled = cycled1, "continue";
|
|
41703
41703
|
if (fullWord) {
|
|
41704
41704
|
var word = state.wordAt(cursor1.value.from);
|
|
41705
|
-
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return
|
|
41705
|
+
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cursor = cursor1, cycled = cycled1, "continue";
|
|
41706
41706
|
}
|
|
41707
|
-
return
|
|
41707
|
+
return cursor = cursor1, cycled = cycled1, {
|
|
41708
41708
|
v: cursor1.value
|
|
41709
41709
|
};
|
|
41710
41710
|
}
|
|
41711
|
-
|
|
41711
|
+
cursor = cursor1, cycled = cycled1;
|
|
41712
41712
|
};
|
|
41713
41713
|
var _state_selection = state.selection, main = _state_selection.main, ranges = _state_selection.ranges;
|
|
41714
41714
|
var word = state.wordAt(main.head), fullWord = word && word.from == main.from && word.to == main.to;
|
package/index.esm.js
CHANGED
|
@@ -41687,7 +41687,7 @@ function findNextOccurrence(state, query) {
|
|
|
41687
41687
|
var _loop = function(cycled1, cursor1) {
|
|
41688
41688
|
cursor1.next();
|
|
41689
41689
|
if (cursor1.done) {
|
|
41690
|
-
if (cycled1) return
|
|
41690
|
+
if (cycled1) return cycled = cycled1, cursor = cursor1, {
|
|
41691
41691
|
v: null
|
|
41692
41692
|
};
|
|
41693
41693
|
cursor1 = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
|
|
@@ -41695,16 +41695,16 @@ function findNextOccurrence(state, query) {
|
|
|
41695
41695
|
} else {
|
|
41696
41696
|
if (cycled1 && ranges.some(function(r) {
|
|
41697
41697
|
return r.from == cursor1.value.from;
|
|
41698
|
-
})) return
|
|
41698
|
+
})) return cycled = cycled1, cursor = cursor1, "continue";
|
|
41699
41699
|
if (fullWord) {
|
|
41700
41700
|
var word = state.wordAt(cursor1.value.from);
|
|
41701
|
-
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return
|
|
41701
|
+
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cycled = cycled1, cursor = cursor1, "continue";
|
|
41702
41702
|
}
|
|
41703
|
-
return
|
|
41703
|
+
return cycled = cycled1, cursor = cursor1, {
|
|
41704
41704
|
v: cursor1.value
|
|
41705
41705
|
};
|
|
41706
41706
|
}
|
|
41707
|
-
|
|
41707
|
+
cycled = cycled1, cursor = cursor1;
|
|
41708
41708
|
};
|
|
41709
41709
|
var _state_selection = state.selection, main = _state_selection.main, ranges = _state_selection.ranges;
|
|
41710
41710
|
var word = state.wordAt(main.head), fullWord = word && word.from == main.from && word.to == main.to;
|