MCPcopy Create free account
hub / github.com/TruthHun/BookStack / savePosAndFail

Function savePosAndFail

static/mergely/lib/searchcursor.js:91–96  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

89 find: function(reverse) {
90 var self = this, pos = this.cm.clipPos(reverse ? this.pos.from : this.pos.to);
91 function savePosAndFail(line) {
92 var pos = Pos(line, 0);
93 self.pos = {from: pos, to: pos};
94 self.atOccurrence = false;
95 return false;
96 }
97
98 for (;;) {
99 if (this.pos = this.matches(reverse, pos)) {

Callers 1

searchcursor.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected