mark_text_on_a_path