mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
dc5dc608ba85ce5550ab33539fb60d3753ff4983
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).
Atom — The hackable editor
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
Languages
JavaScript
88.3%
Less
8.7%
CoffeeScript
2.8%
Shell
0.1%
