Map strings according to the current highlighting status.