| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2024-01-12 | Remove unnecessary function from_slice. | Rose Hogenson | 1 | -11/+7 | |
| 2024-01-12 | Simplify the code a little bit. | Rose Hogenson | 1 | -14/+10 | |
| 2024-01-12 | Try to avoid copies. | Rose Hogenson | 1 | -42/+72 | |
| 2024-01-12 | Start tuning the performance of rope. | Rose Hogenson | 1 | -51/+48 | |
| 2024-01-11 | Implement Home, End, PgUp, and PgDn. | Rose Hogenson | 1 | -8/+9 | |
| 2024-01-11 | Optimise line_offset for the ASCII case. | Rose Hogenson | 1 | -0/+19 | |
| In most cases we really won't need the full binary search. We can check quickly for ASCII without ever printing anything, and fall back to binary search if we find any Unicode characters. | |||||
| 2024-01-11 | Rewrite the entire thing. | Rose Hogenson | 1 | -309/+250 | |
| They say you can always do a better job on the rewrite, and to a certain extent that was true here. I kept a lot of it the same though, since there was a lot I liked from the original design. The main improvements are in efficiency and code clarity. | |||||
| 2024-01-07 | Avoid an extra copy. | Rose Hogenson | 1 | -11/+7 | |
| 2024-01-06 | Use a b-tree for the rope. | Rose Hogenson | 1 | -96/+242 | |
| Now it's balanced :D | |||||
| 2024-01-06 | Fix some bugs with long lines. | Rose Hogenson | 1 | -36/+1 | |
| 2024-01-06 | Implement backspace. | Rose Hogenson | 1 | -1/+1 | |
| 2024-01-06 | Fix input issues when scrolling quickly. | Rose Hogenson | 1 | -2/+1 | |
| Unfortunately the user input comes on the same channel as the terminal status report from 6n, so there's a possibility of getting confused here. As long as the program is relatively efficient, it shouldn't be observable. | |||||
| 2024-01-06 | Support inserting newline. | Rose Hogenson | 1 | -5/+18 | |
| 2024-01-06 | Allow scrolling up and down. | Rose Hogenson | 1 | -2/+2 | |
| 2024-01-06 | Truncate long lines. | Rose Hogenson | 1 | -0/+17 | |
| 2024-01-06 | Use more idiomatic error handling. | Rose Hogenson | 1 | -56/+8 | |
| 2024-01-06 | Fix unicode handling. | Rose Hogenson | 1 | -8/+78 | |
| It's hard to say if this counts as "fixed," but I think it's at least better than GNU nano. | |||||
| 2024-01-05 | Clean up the rope code. | Rose Hogenson | 1 | -200/+133 | |
| 2023-12-29 | Allow saving the file with CTRL-S. | Rose Hogenson | 1 | -1/+19 | |
| 2023-12-29 | Support inserting text. | Rose Hogenson | 1 | -0/+54 | |
| 2023-12-29 | Keep track of cursor position. | Rose Hogenson | 1 | -21/+107 | |
| 2023-12-27 | Add some TODOs for important enhancements. | Rose Hogenson | 1 | -0/+2 | |
| 2023-12-27 | Print each line separately. | Rose Hogenson | 1 | -26/+16 | |
| Now that the terminal is in raw mode, we need to also include \r after each line. | |||||
| 2023-12-27 | Print the first n lines of the file. | Rose Hogenson | 1 | -4/+81 | |
| 2023-12-27 | Remove unnecessary length field. | Rose Hogenson | 1 | -11/+9 | |
| 2023-12-27 | Fix a bug in how unicode is printed. | Rose Hogenson | 1 | -22/+27 | |
| Technically a single character can be split across multiple chunks, so we can just join all the chunks before printing. It's not the most efficient, but this is only for debugging. | |||||
| 2023-12-26 | Add the basic rope. | Rose Hogenson | 1 | -0/+96 | |
