mirror of https://github.com/kdl-org/kdl-rs.git
Convert byte indices to char indices before calculating positions in the rope. The previous implementation passed byte offsets directly to char indexing functions, causing a panic when the byte index exceeded the character count. |
||
|---|---|---|
| .. | ||
| kdl-lsp | ||