Commit Graph

2 Commits

Author SHA1 Message Date
Kevin Sawicki
a9b2661d3c Require TextBuffer from text-buffer module 2014-02-19 09:19:08 -08:00
Nathan Sobo
c3f995b165 Fix lurking soft-wrap bugs
This commit adds two important things:

1. An editor spec that randomly mutates a buffer and toggles soft wrap
on and off, then compares the screen lines to a simple reference
implementation to ensure everything stays in a correct state.

2. A new and radically simpler implementation of RowMap that eliminates
failures in the randomized test.
2014-01-30 00:52:17 -07:00