GitHub’s Atom editor gets speed boost
14 August 2017 | 0
GitHub has just released an upgrade to its “hackable” Atom text editor, adding a native C++ buffer and rewriting the DOM interaction layer. The company also has offered a glimpse of the next version, which will improve Git integration and PHP support.
With the Atom 1.19 release, a native C++ text buffer boosts responsiveness and memory usage. “Saving a file now happens asynchronously without blocking the UI, so that you can move smoothly from one task to the next,” GitHub’s Ian Olsen said. Also, large files now consume less memory.
The DOM interaction layer was rewritten to improve performance and simplify code. The rewritten layer leverages new browser features and virtual DOM capabilities. The rewrite also was intended to accommodate APIs including CSS containment boundaries, for limiting the scope of the browser’s styles and layout, and resize observers, which notify when an element’s content rectangle has changed size.
Atom 1.20 also features fixes for PHP grammar. To improve find and replace capabilities, context lines in the 1.20 release are optionally displayed with “Find in Project” results. Users can set the number of available lines before and after matches in the package settings and can modify the display inline when viewing results.
IDG News Service