mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
c6a0e385f7a7f47198d925fa15fe90efa2443af3
Previously, we were not including the text when serializing an unmodified buffer. We would use the absence of the text field to determine that the buffer was previously unmodified when deserializing. The problem is that text now stores the markers associated with the buffer, and we want to retain those across serialization regardless of the modified status. So now I include the text always, along with an isModified flag which if true, will tell to reload the buffer if it has changed since we last serialized it. Reloading a buffer should probably do a diff-and-patch in the future rather than replacing the contents outright, so that we always preserve markers as best as we can.
Atom — Futuristic Text Editing
Check out our documentation on the docs tab.
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%