Removed unused term highlighting function