We don’t want to do it when the element is detached because it might be caused by moving the editor rather than destroying it. Unmounting the component entirely and then remounting it causes the hidden input to not be recycled, interfering with focus restoration. Watching for destruction of the model is a good way to ensure we always tear down the view at the right time without doing it prematurely.
Atom is a hackable text editor for the 21st century, built on atom-shell, and based on everything we love about our favorite editors. We designed it to be deeply customizable, but still approachable using the default configuration.
Visit atom.io to learn more.
Visit issue #3684 to learn more about the Atom 1.0 roadmap.
Installing
Mac OS X
Download the latest Atom release.
Atom will automatically update when a new release is available.
Windows
Install the Atom chocolatey package.
- Install chocolatey.
- Close and reopen your command prompt or PowerShell window.
- Run
cinst Atom - In the future run
cup Atomto upgrade to the latest release.
You can also download a .zip file from the releases page.
The Windows version does not currently automatically update so you will need to
manually upgrade to future releases by re-downloading the .zip file.
Debian Linux (Ubuntu)
Currently only a 64-bit version is available.
- Download
atom-amd64.debfrom the Atom releases page. - Run
sudo dpkg --install atom-amd64.debon the downloaded package. - Launch Atom using the installed
atomcommand.
The Linux version does not currently automatically update so you will need to repeat these steps to upgrade to future releases.
Building
Developing
Check out the guides and the API reference.
