Commit d10a7aa
Humza Shahid
[new release] piece_rope (0.9.1)
CHANGES:
* Piece_rope.stats function now returns proper number of lines.
* More robust handling of \r\n line breaks.
* If trying to insert in midle of \r\n, insert is moved to after this pair.
* If either \r or \n is deleted in \r\n pair, deletes both.
* If trying to retrieve line that ends with \r\n, returns the \r\n pair at the end.
* If trying to retrieve line after a \r\n pair, now returns the line after the pair (previously returned \n at the start).
* Additional unit tests to verify proper functioning.1 parent 064e616 commit d10a7aa
1 file changed
+43
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments