Get the active text editor from the workspace instead of the element
Get the active text editor from the workspace instead of the element

Atom 1.13.0 started sending elements without a model field.

Fixes #147

idris-hackers/atom-language-idris