aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_editor/src/line_index_utils.rs
Commit message (Collapse)AuthorAgeFilesLines
* change to `TextEdit` to avoid allocation and sortBernardo2018-12-251-47/+39
| | | | rename newline to step where applicable
* remove benchmark and simplify testsBernardo2018-12-251-44/+19
|
* use new translate_offset_with_edit for TryConvWithBernardo2018-12-251-1/+1
| | | | doc comments
* add line_index proptestBernardo2018-12-251-2/+2
|
* make criterion args work, small simplificationBernardo2018-12-251-3/+0
|
* fix arbitrary offset generation, col translation workingBernardo2018-12-251-39/+64
|
* column translation implemented but not quite working yetBernardo2018-12-251-36/+66
|
* iterate over `Step`s which are either, newlines or multibyte charsBernardo2018-12-251-22/+111
|
* simplify newline check with macroBernardo2018-12-251-20/+14
|
* remove slower impl, add benchmarksBernardo2018-12-251-197/+21
|
* final iteration, faster a bit simplerBernardo2018-12-251-171/+209
| | | | the main thing is we iterate over inserted newlines at once for each edit
* simplified versionBernardo2018-12-251-0/+139
|
* move translate_offset_with_edit to ra_editorBernardo2018-12-251-0/+260