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:
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
andatom.workspace.observeActiveTextEditor
. Now that Atom 1.19 has been released, we can safely expect these methods to to be available:atom.workspace.getActiveTextEditor
atom.workspace.observeActiveTextEditor