We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d1e417 commit 8f095dfCopy full SHA for 8f095df
addon/search/search.js
@@ -196,7 +196,7 @@
196
replaceAll(cm, query, text)
197
} else {
198
clearSearch(cm);
199
- var cursor = getSearchCursor(cm, query, cm.getCursor());
+ var cursor = getSearchCursor(cm, query, cm.getCursor("from"));
200
var advance = function() {
201
var start = cursor.from(), match;
202
if (!(match = cursor.findNext())) {
0 commit comments