pulsar/spec
Nathan Sobo 0bc510ab58 Properly translate positions when wrapper and folder are composed
The key was in LineMap.linesForScreenRows. For each screen line, it
concatenates all line fragments (if there are indeed more than 1) that
traverse that line to return a single line fragment representing the
line. The key was to update the buffer delta for that fragment to
always be 1,0. Because the wrapper is treating the folder as if it's
the buffer, the lines it stores in its map need to traverse only a
single "buffer" line (that's a single line after folds are taken into
account). We may need better language than "screen" and "buffer"
because the wrapper treats the folder as the "buffer" but that's
confusing because it isn't.
2012-02-24 21:56:18 -07:00
..
atom Properly translate positions when wrapper and folder are composed 2012-02-24 21:56:18 -07:00
fixtures Refactor all buffer manipulation to use Buffer.change 2012-01-25 17:59:15 -08:00
stdlib Use event.originalEvent.keyIdentifier instead of event.which. 2012-02-15 10:04:02 -08:00
spec-bootstrap.coffee Use $$ -> to render ad-hoc document fragments 2012-02-06 16:19:43 -07:00
spec-helper.coffee Use event.originalEvent.keyIdentifier instead of event.which. 2012-02-15 10:04:02 -08:00
spec-suite.coffee Meta+s triggers save on Editor. 2011-12-16 16:30:51 -08:00