@digipair/skill-web-jsoneditor 0.94.0-4 → 0.94.0-8
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/dist/index.cjs.js +5 -5
- package/dist/index.esm.js +5 -5
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -41855,7 +41855,7 @@ function findNextOccurrence(state, query) {
|
|
|
41855
41855
|
var _loop = function(cycled1, cursor1) {
|
|
41856
41856
|
cursor1.next();
|
|
41857
41857
|
if (cursor1.done) {
|
|
41858
|
-
if (cycled1) return
|
|
41858
|
+
if (cycled1) return cycled = cycled1, cursor = cursor1, {
|
|
41859
41859
|
v: null
|
|
41860
41860
|
};
|
|
41861
41861
|
cursor1 = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
|
|
@@ -41863,16 +41863,16 @@ function findNextOccurrence(state, query) {
|
|
|
41863
41863
|
} else {
|
|
41864
41864
|
if (cycled1 && ranges.some(function(r) {
|
|
41865
41865
|
return r.from == cursor1.value.from;
|
|
41866
|
-
})) return
|
|
41866
|
+
})) return cycled = cycled1, cursor = cursor1, "continue";
|
|
41867
41867
|
if (fullWord) {
|
|
41868
41868
|
var word = state.wordAt(cursor1.value.from);
|
|
41869
|
-
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return
|
|
41869
|
+
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cycled = cycled1, cursor = cursor1, "continue";
|
|
41870
41870
|
}
|
|
41871
|
-
return
|
|
41871
|
+
return cycled = cycled1, cursor = cursor1, {
|
|
41872
41872
|
v: cursor1.value
|
|
41873
41873
|
};
|
|
41874
41874
|
}
|
|
41875
|
-
|
|
41875
|
+
cycled = cycled1, cursor = cursor1;
|
|
41876
41876
|
};
|
|
41877
41877
|
var _state_selection = state.selection, main = _state_selection.main, ranges = _state_selection.ranges;
|
|
41878
41878
|
var word = state.wordAt(main.head), fullWord = word && word.from == main.from && word.to == main.to;
|
package/dist/index.esm.js
CHANGED
|
@@ -41853,7 +41853,7 @@ function findNextOccurrence(state, query) {
|
|
|
41853
41853
|
var _loop = function(cycled1, cursor1) {
|
|
41854
41854
|
cursor1.next();
|
|
41855
41855
|
if (cursor1.done) {
|
|
41856
|
-
if (cycled1) return
|
|
41856
|
+
if (cycled1) return cycled = cycled1, cursor = cursor1, {
|
|
41857
41857
|
v: null
|
|
41858
41858
|
};
|
|
41859
41859
|
cursor1 = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
|
|
@@ -41861,16 +41861,16 @@ function findNextOccurrence(state, query) {
|
|
|
41861
41861
|
} else {
|
|
41862
41862
|
if (cycled1 && ranges.some(function(r) {
|
|
41863
41863
|
return r.from == cursor1.value.from;
|
|
41864
|
-
})) return
|
|
41864
|
+
})) return cycled = cycled1, cursor = cursor1, "continue";
|
|
41865
41865
|
if (fullWord) {
|
|
41866
41866
|
var word = state.wordAt(cursor1.value.from);
|
|
41867
|
-
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return
|
|
41867
|
+
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cycled = cycled1, cursor = cursor1, "continue";
|
|
41868
41868
|
}
|
|
41869
|
-
return
|
|
41869
|
+
return cycled = cycled1, cursor = cursor1, {
|
|
41870
41870
|
v: cursor1.value
|
|
41871
41871
|
};
|
|
41872
41872
|
}
|
|
41873
|
-
|
|
41873
|
+
cycled = cycled1, cursor = cursor1;
|
|
41874
41874
|
};
|
|
41875
41875
|
var _state_selection = state.selection, main = _state_selection.main, ranges = _state_selection.ranges;
|
|
41876
41876
|
var word = state.wordAt(main.head), fullWord = word && word.from == main.from && word.to == main.to;
|