Atom 1.24 Adds Asynchronous Content Menus
Written by Kay Ewbank   
Wednesday, 21 February 2018

There's a new version of Atom, GitHub's open-source text editor. Atom 1.24 has read-only TextEditors, asynchronous context menus, and automatic scrolling on folding and unfolding.

Atom started life in  2014 as GitHub's cloud hosted editor, and has gone on to become is a very popular code editor, coming top in a recent Opensource.com poll. Last year saw it taking the first steps to being a full featured IDE, with the user interface being provided by Facebook's Nuclide team.

The first change to the updated version is the addition of read-only text editors. This enables packages to disable input by applying a read-only attribute to the TextEditors. The developers say this is useful in situations where you want users to be able to see code with syntax highlighting, and to let them copy the code to the clipboard, but you don't want them to be able to change it, for example because it’s code in your git history or it isn’t on your local drive.

The next improvement will make working in Atom less annoying, as context menus are now asynchronous, meaning that right-clicking no longer locks up the event loop. Other processing and rendering will now carry on while the menu is shown.

snow-falling-on-async-context-menu

 

A new LanguageMode API has been added, though this is more to prepare for changes to future versions of Atom. The developers are changing the mechanism by which editors are tokenized for syntax highlighting and folding, with the changes beginning in the next version, Atom 1.25. In order for this to work, the APIs that deal with configuring a grammar on an editor are being altered, with the first of the new APIs included in Atom 1.24. The existing Grammar-specific APIs will continue to work for backwards compatibility, but will be deprecated at some point in the future.

The final change to this release is automatic scrolling of the editor to keep your cursors visible when folding or unfolding large blocks of code. 

Alongside the new stable release, the beta of Atom 1.25 is also being made available, with support for code folding and improved syntax highlighting. 

atom1

More Information

Atom On GitHub

Related Articles

Atom IDE

Which Code Editor Do Devs Prefer?

Atom 1.18 Ships With Rich Git Integration  

Atom Asks About Telemetry

Atom 1.5 Released 

Atom 1.1 Released

Atom 1.0 - GitHub's Hackable Editor Becomes Stable

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

Banner


Ruby On Rails Adds Kamal And Thruster Support
17/12/2024

Ruby on Rails 8 has been released. The new version comes preconfigured with Kamal 2 for application deployment, a new proxy called Thruster, and a trio of SQLite database-backed adapters named Solid C [ ... ]



Remembering Grace Hopper On Her 114th Anniversary
09/12/2024

Today sees the start of Computer Science Education Week and  the 2024 Hour of Code. These educational event are timed to coincide with Grace Hopper's birthday on January 9th, 1906 due to her conc [ ... ]


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Wednesday, 21 February 2018 )