MCPcopy Create free account
hub / github.com/asgerf/tscheck / positionToIndex

Method positionToIndex

tests/ace.d.ts:436–436  ·  view source on GitHub ↗

* Converts the `{row, column}` position in a document to the character's index. * Index refers to the "absolute position" of a character in the document. For example: * ```javascript * var x = 0; // 10 characters, plus one for newline * var y = -1; * ```

(pos: Position, startRow: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected