Cleaned up Editor._set_target_attribute() even more.

The method now reads linearly.