Moved JSX text highlighting to TypeScript services.