Lines Matching refs:startLine
209 startLine, // for multi-line selections, the first character position of the first line
280 startLine = selStart;
289 startLine = text.lastIndexOf('\n', selStart - 1) + 1;
315 target.value = text.slice(0, startLine) + tab +
316 text.slice(startLine, endLine).replace(/\n/g, function () {
337 if (text.slice(startLine).indexOf(tab) === 0) {
339 if (startLine === selStart) {
349 … target.value = text.slice(0, startLine) + text.slice(startLine + preTab, selStart) +
417 startLine = text.lastIndexOf('\n', selStart - 1) + 1;
428 whitespace = text.slice(startLine, endLine).match(/^[ \t]*/)[0];
433 if (selStart < startLine + whitespaceLen) {