GitHub updated today its open-source and cross-platform Atom hackable text editor app to add asynchronous context menus, read-only TextEditors, and automatic scrolling on unfolding and folding.
Atom 1.24 is now available for Linux, Windows, and macOS, bringing asynchronous context menus to no longer lock up the even loop on right-click and allow other rendering and processing operations to occur when the context menu is displayed, a new LanguageMode API, automatic scrolling when folding or unfolding, and read-only TextEditors.
“Packages can apply a read-only attribute to TextEditors to disable input,” says Ash Wilson in the release notes. “This is useful when you wish to display code with syntax highlighting and allow copying to the clipboard, but it doesn’t make sense for the user to be able to change it, for example because it’s code in your git history or it isn’t on your local drive.”
Atom 1.2… (read more)