The search functionality needs JavaScript enabled
void highlightTextPattern( DrawBuf buf, int lineIndex, Rect lineRect, Rect visibleRect );