Skip to main content

Module line_index

Module line_index 

Source
Expand description

Enhances ide::LineIndex with additional info required to convert offsets into lsp positions.

The VFS normalizes UTF-8 file contents to use \n as the line separator. We retain the detected line-ending convention here so outgoing LSP edits can restore \r\n when needed.

Structs§

LineIndex 🔒

Enums§

PositionEncoding