Vergleich admin/jscripts/codemirror/addon/search/searchcursor.js - 1.8.1 - 1.8.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 107Zeile 107
            var from = Pos(pos.line, cut);
for (var ln = pos.line + 1, i = 1; i < last; ++i, ++ln)
if (target[i] != fold(doc.getLine(ln))) return;

            var from = Pos(pos.line, cut);
for (var ln = pos.line + 1, i = 1; i < last; ++i, ++ln)
if (target[i] != fold(doc.getLine(ln))) return;

            if (doc.getLine(ln).slice(0, origTarget[last].length) != target[last]) return;

            if (fold(doc.getLine(ln).slice(0, origTarget[last].length)) != target[last]) return;

            return {from: from, to: Pos(ln, origTarget[last].length)};
}
};

            return {from: from, to: Pos(ln, origTarget[last].length)};
}
};