Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 9fc4c33

Browse files
committed
add missing param
1 parent 86a30b3 commit 9fc4c33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/search/FindReplace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ define(function (require, exports, module) {
168168
var cm = editor._codeMirror;
169169
cm.operation(function () {
170170
var state = getSearchState(cm);
171-
var cursor = getSearchCursor(cm, state.query, pos || editor.getCursorPos(Boolean(rev))); // null and false mean different things to getCursorPos()
171+
var cursor = getSearchCursor(cm, state.query, pos || editor.getCursorPos(true, Boolean(rev))); // null and false mean different things to getCursorPos()
172172

173173
state.lastMatch = cursor.find(rev);
174174
if (!state.lastMatch) {

0 commit comments

Comments
 (0)