Underline selection script uses new 'text selection changed' hook