Shorten text focus code