You mean the implementation of the highlighting? It uses text mesh pro, they have an example class for highlighting clicked words: