refactoring editor widget
refactoring editor widget