]> git.lizzy.rs Git - rust.git/commit
Merge #325
authorbors[bot] <bors[bot]@users.noreply.github.com>
Thu, 27 Dec 2018 12:19:19 +0000 (12:19 +0000)
committerbors[bot] <bors[bot]@users.noreply.github.com>
Thu, 27 Dec 2018 12:19:19 +0000 (12:19 +0000)
commite422c2e2f4117cf977d28a40a9c8e4dc4cfee811
tree9ea1dc365e420c286834b40923deb95a0ca291b9
parent55ab0c602e391537f5e1a84a617fdd817e6a4200
parent1cda43aafd623b400f5916b1d3727b56c136081b
Merge #325

325: implement translate_offset_with_edit r=matklad a=vemoo

- Implement `translate_offset_with_edit` to resolve #105
- Add proptest impls for text, offsets and edits and use them in tests for `translate_offset_with_edit` and `LineIndex`
- Added benchmark for `translate_offset_with_edit`

Co-authored-by: Bernardo <berublan@gmail.com>
Cargo.lock
crates/ra_editor/src/lib.rs
crates/ra_lsp_server/src/conv.rs