Nathan Sobo dc5dc608ba Avoid row map corruption when replacing a subset of a fold's buffer rows
Fixes #1576

When splicing regions into the row map, we always express the starting
buffer row, then the number of buffer rows covered by the regions we're
inserting. When we're inserting regions representing folds, they always
extend to the end of a fold, so we need to ensure the endBufferRow also
extends to the end of the fold.

For example, say rows [5…10] are folded, and we handle a replacement of
rows [5…8]. We will still insert a region for the fold covering 1 screen
row and 5 buffer rows, so we need to update the endBufferRow to extend
to the end of the fold as well (10).
2014-02-28 10:11:57 -08:00
2014-02-23 17:05:26 -08:00
2014-02-27 13:35:00 -08:00
2014-02-28 10:01:54 -08:00
2014-02-28 08:49:50 -08:00
2013-08-14 14:05:35 -07:00
2014-02-27 20:45:12 -08:00
2014-02-24 17:38:49 -08:00

Atom — The hackable editor

Atom

Check out our guides and API documentation.

Installing

Download the latest Atom release.

Atom will automatically update when a new release is available.

Building

Follow the instructions in the build docs.

Description
No description provided
Readme 447 MiB
Languages
JavaScript 88.3%
Less 8.7%
CoffeeScript 2.8%
Shell 0.1%