texlab/crates/completion
Henry Chu c45c857851
Add bounds check to prevent panic in token_at_offset (#1367)
TexLab will panic if it receives a completion request with an invalid offset. This PR prevents the panic by checking if the offset is in range before passing it to `token_at_offset`.
2025-03-23 09:07:51 +01:00
..
benches Don't vendor line index data structure (#946) 2023-11-05 18:55:23 +01:00
src Add bounds check to prevent panic in token_at_offset (#1367) 2025-03-23 09:07:51 +01:00
Cargo.toml Use workspace dependencies (#1184) 2024-08-11 13:15:58 +02:00