[−][src]Function codespan_lsp::byte_index_to_position
pub fn byte_index_to_position<Source: AsRef<str>>(
files: &Files<Source>,
file_id: FileId,
byte_index: ByteIndex
) -> Result<LspPosition, Error>
pub fn byte_index_to_position<Source: AsRef<str>>(
files: &Files<Source>,
file_id: FileId,
byte_index: ByteIndex
) -> Result<LspPosition, Error>