editors refactoring