Move code to get 'editor' object
Move code to get 'editor' object

We will add more onSaveTransformations, and it makes no
sense having code to get the editor instance in each
transformation.

jedmao/editorconfig-vscode,editorconfig/editorconfig-vscode