Greatly Simplified and modularized text highlighting.