MCPcopy Create free account
hub / github.com/microsoft/typescript-go / FindFirstNonWhitespaceColumn

Function FindFirstNonWhitespaceColumn

internal/format/indent.go:465–468  ·  view source on GitHub ↗
(startPos int, endPos int, sourceFile *ast.SourceFile, options lsutil.FormatCodeSettings)

Source from the content-addressed store, hash-verified

463}
464
465func FindFirstNonWhitespaceColumn(startPos int, endPos int, sourceFile *ast.SourceFile, options lsutil.FormatCodeSettings) int {
466 _, col := findFirstNonWhitespaceCharacterAndColumn(startPos, endPos, sourceFile, options)
467 return col
468}
469
470/**
471* Character is the actual index of the character since the beginning of the line.

Callers 6

InsertNodeInListAfterMethod · 0.92
getCommentIndentFunction · 0.85
getBlockIndentFunction · 0.85
processChildNodesMethod · 0.85

Tested by

no test coverage detected