mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
When we're creating folds that contain other folds, we'll need the region based on the new fold's row mapping to overwrite the regions from the old folds. This commit ensures that the new region cleanly slots in, replacing any regions it completely contains and splitting regions that it only partially overlaps.