Module lsp_async_stub::util
source · [−]Expand description
Utilities for mapping between offset:length bytes and col:row character positions.
Structs
Inclusive offset range in characters instead of bytes.
A mapper that translates offset:length bytes to 1-based line:row characters.
Traits
Functions
Ranges are relative start to start, not end to start.
Type Definitions
Offset in characters instead of bytes.
It is u64 because lsp_types
uses u64.