Added select_to_endofline and select_to_begofline