The search functionality needs JavaScript enabled
void highlightLineRange( DrawBuf buf, Rect lineRect, uint color, TextRange r );