mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
0192c57f466c1d7c104cf40a8ecf16f83f5aa0f1
Fixes #688 The DisplayBuffer applies buffer and screen deltas to the row map as rows are inserted/removed from the buffer/screen. This can leave some of the regions in a weird state, such as mapping multiple screen rows to zero buffer rows. But next the DisplayBuffer applies any new mappings based on the replaced lines over the top of existing regions. These weirdly shaped regions should be overwritten by newly inserted regions, so at the end of the operation the row map makes sense again. This fixes a corner case where regions spanning 0 buffer rows at the very beginning of the row range were not being included in the set of regions to replace. This was in turn causing the RowMap to get into a bad state in certain situations involving soft-wrapped lines.
Atom — Futuristic Text Editing
Check out our documentation in this repo. There is also API documentation.
Installing
Download the latest Atom release from speakeasy.
It will automatically update when a new release is available.
Building
Requirements
- Mountain Lion
- Boxen (Obviously Atom won't release with this requirement)
Installation
-
gh-setup atom -
cd ~/github/atom -
script/build
Description
Languages
JavaScript
88.3%
Less
8.7%
CoffeeScript
2.8%
Shell
0.1%