Texting while driving would become a primary traffic offense under legislation unveiled Wednesday and backed by House Speaker Richard Corcoran. The measure would allow law-enforcement officers to pull over motorists if they see them texting or emailing.