atom / line-ending-selector

Switch between Unix and Window style line endings.
MIT License
33 stars 18 forks source link

Restore ability to display line ending for pending text editor panes #46

Closed jasonrudolph closed 7 years ago

jasonrudolph commented 7 years ago

Description of the Change

As one part of resolving https://github.com/atom/status-bar/issues/194, this pull request updates this package to take advantage of the new Workspace::observeActiveTextEditor(callback) API being introduced in https://github.com/atom/atom/pull/14695.

Alternate Designs

See https://github.com/atom/atom/pull/14695

Benefits

The package will regain the ability to display the line ending for pending text editor panes.

Possible Drawbacks

See https://github.com/atom/atom/pull/14695

Applicable Issues

Demo

Before

line-ending-selector-before

After

line-ending-selector-after