Fix for resource overriding

Added addition check for selected editor, otherwise can breaks resource
string even another editor selected.
Merge pull request #4 from macik/master

Fix for resource overriding