atom / line-ending-selector

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

Remove obsolete conditionals re: active text editor APIs #50

Closed jasonrudolph closed 7 years ago

jasonrudolph commented 7 years ago

This PR removes the conditional logic (originally introduced in https://github.com/atom/line-ending-selector/pull/46) that tested for the existence of atom.workspace.getActiveTextEditor and atom.workspace.observeActiveTextEditor. Now that Atom 1.19 has been released, we can safely expect these methods to to be available: