Bug fix

Fixing issue where feature editor jumps when regaining focus, and undo operation selecting the whole editor content after saving a file