mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
2831b43042cfb3646e79fdffe77e3b456cb1cfbc
On changes that insert/remove lines, we redraw the entire gutter, which ensures the foldability markers are up to date. But other kinds of changes could change the foldability of lines… if a line becomes commented or its indentation changes, the foldability of that line and the lines above and below could be affected. For now, the gutter understands this fact and updates the foldability for the region extending from one line before to one line after each change. Someday I'd like the view logic to not bake in knowledge of the folding rules, but this works for now.
Atom — The hackable, collaborative 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%
