We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6633349 commit 5e241a3Copy full SHA for 5e241a3
src/compiler/scanner.ts
@@ -316,19 +316,6 @@ module ts {
316
return computeLineAndCharacterOfPosition(getLineStarts(sourceFile), position);
317
}
318
319
- export function lineBreakBetween(sourceFile: SourceFile, firstPos: number, secondPos: number): boolean {
320
- var lineStarts = getLineStarts(sourceFile);
321
- var firstLine = binarySearch(lineStarts, firstPos);
322
- var secondLine = binarySearch(lineStarts, secondPos);
323
- if (firstLine < 0) {
324
- firstLine = ~firstLine - 1;
325
- }
326
- if (secondLine < 0) {
327
- secondLine = ~secondLine - 1;
328
329
- return firstLine !== secondLine;
330
331
-
332
let hasOwnProperty = Object.prototype.hasOwnProperty;
333
334
export function isWhiteSpace(ch: number): boolean {
0 commit comments