Simplify text-selection example.