bkthomps/Ven

Insert Mode

Closed this issue · 1 comments

Add insert mode, which allows: typing; special actions such as space, backspace, enter, and tab. Do not yet implement copy-and-pasting.

This will require creating a buffer to store the file being manipulated. There are three possibilities:

  1. Using a linked list of slices
    • This is easy to implement, but inefficient
  2. Using a gap buffer
    • This is harder to implement but more efficient
    • Less efficient that a rope for searching
  3. Using a rope
    • This is the hardest to implement but better for searching than a gap buffer

Will implement option 2 since it's the best efficiency-simplicity tradeoff.

Done