gchp / iota

A terminal-based text editor written in Rust
MIT License
1.63k stars 81 forks source link

Fixing iota to work with new GapBuffer. #87

Closed pythonesque closed 9 years ago

pythonesque commented 9 years ago

Note that this commit holds off on modifying the Cargo.toml until some minor fixes have been merged into GapBuffer proper. A subsequent commit will change this to point to the correct commit. Do not merge until the second commit.

pythonesque commented 9 years ago

Note: yes, Vec each time we call lines().next() is dumb, but it works. If it negatively impacts performance, we can write something smarter (e.g. rewrite lines() to return iterators rather than vectors or slices).

pythonesque commented 9 years ago

Okay, it should be okay to pull in now.