clipboard support in editors, part 1