Edit and editor code