@digipair/skill-web-jsoneditor 0.121.15 → 0.122.0
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.esm.js +5 -5
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -42138,7 +42138,7 @@ function findNextOccurrence(state, query) {
|
|
|
42138
42138
|
var _loop = function(cycled1, cursor1) {
|
|
42139
42139
|
cursor1.next();
|
|
42140
42140
|
if (cursor1.done) {
|
|
42141
|
-
if (cycled1) return
|
|
42141
|
+
if (cycled1) return cursor = cursor1, cycled = cycled1, {
|
|
42142
42142
|
v: null
|
|
42143
42143
|
};
|
|
42144
42144
|
cursor1 = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
|
|
@@ -42146,16 +42146,16 @@ function findNextOccurrence(state, query) {
|
|
|
42146
42146
|
} else {
|
|
42147
42147
|
if (cycled1 && ranges.some(function(r) {
|
|
42148
42148
|
return r.from == cursor1.value.from;
|
|
42149
|
-
})) return
|
|
42149
|
+
})) return cursor = cursor1, cycled = cycled1, "continue";
|
|
42150
42150
|
if (fullWord) {
|
|
42151
42151
|
var word = state.wordAt(cursor1.value.from);
|
|
42152
|
-
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return
|
|
42152
|
+
if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cursor = cursor1, cycled = cycled1, "continue";
|
|
42153
42153
|
}
|
|
42154
|
-
return
|
|
42154
|
+
return cursor = cursor1, cycled = cycled1, {
|
|
42155
42155
|
v: cursor1.value
|
|
42156
42156
|
};
|
|
42157
42157
|
}
|
|
42158
|
-
|
|
42158
|
+
cursor = cursor1, cycled = cycled1;
|
|
42159
42159
|
};
|
|
42160
42160
|
var _state_selection = state.selection, main = _state_selection.main, ranges = _state_selection.ranges;
|
|
42161
42161
|
var word = state.wordAt(main.head), fullWord = word && word.from == main.from && word.to == main.to;
|