indentationBefore

Tally the indentation for the line enclosing position. Only leading horizontal tabulation (U+0009) is considered indentation.

Return

The amount of indentation discovered.

Parameters

position

The position from which to scan leftward in search of the beginning of the enclosing line.