Expand description
Coordinate mapper: byte offset <-> line/col <-> LSP position (UTF-16).
Structsยง
- Coordinate
Mapper - Stateless mapper that converts freely between three coordinate systems:
- LspPosition
- An LSP-compatible position (0-based line, 0-based UTF-16 code-unit column).