Update to CodeMirror version 5.46

This commit is contained in:
Raymond Hill 2019-04-23 19:06:03 -04:00
parent 3efb0daa66
commit cd1a11fa9d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 883 additions and 868 deletions

View File

@ -46,7 +46,7 @@
if (match.from.line >= this.gap.to) break;
if (match.to.line >= this.gap.from) this.matches.splice(i--, 1);
}
var cursor = this.cm.getSearchCursor(this.query, CodeMirror.Pos(this.gap.from, 0), this.caseFold);
var cursor = this.cm.getSearchCursor(this.query, CodeMirror.Pos(this.gap.from, 0), {caseFold: this.caseFold, multiline: this.options.multiline});
var maxMatches = this.options && this.options.maxMatches || MAX_MATCHES;
while (cursor.findNext()) {
var match = {from: cursor.from(), to: cursor.to()};

File diff suppressed because it is too large Load Diff