Searched refs:startLinePosition (Results 1 – 1 of 1) sorted by relevance
/third_party/typescript/src/services/formatting/ |
D | formatting.ts | 509 const startLinePosition = getLineStartPositionForPosition(startPos, sourceFile); constant 510 …const column = SmartIndenter.findFirstNonWhitespaceColumn(startLinePosition, startPos, sourceFile,… 842 … const startLinePosition = getLineStartPositionForPosition(tokenInfo.token.pos, sourceFile); constant 843 …tationOnListStartToken = SmartIndenter.findFirstNonWhitespaceColumn(startLinePosition, tokenInfo.t… 1077 const startLinePosition = getStartPositionOfLine(tokenStart.line, sourceFile); constant 1078 …on !== characterToColumn(startLinePosition, tokenStart.character) || indentationIsDifferent(indent… 1079 recordReplace(startLinePosition, tokenStart.character, indentationString); 1084 function characterToColumn(startLinePosition: number, characterInLine: number): number { 1087 if (sourceFile.text.charCodeAt(startLinePosition + i) === CharacterCodes.tab) { 1097 … function indentationIsDifferent(indentationString: string, startLinePosition: number): boolean { [all …]
|