Lines Matching full:snippets
293 // 1. Split the line into N+1 snippets, where N = |Segments|. The first in renderLine()
298 SmallVector<std::string, 8> Snippets; in renderLine() local
303 Snippets.push_back(Line.substr(Start, Len)); in renderLine()
318 // 2. Escape all of the snippets. in renderLine()
320 for (unsigned I = 0, E = Snippets.size(); I < E; ++I) in renderLine()
321 Snippets[I] = escape(Snippets[I]); in renderLine()
323 // 3. Use \p WrappedSegment to set the highlight for snippets 0 and 1. Use in renderLine()
339 Snippets[0] = Highlight(Snippets[0]); in renderLine()
340 Snippets[1] = Highlight(Snippets[1]); in renderLine()
353 Snippets[I + 1] = Highlight(Snippets[I + 1]); in renderLine()
356 // 4. Snippets[1:N+1] correspond to \p Segments[0:N]: use these to generate in renderLine()
374 Snippets[I + 1] = in renderLine()
375 tag("div", Snippets[I + 1] + tag("span", formatCount(CurSeg->Count), in renderLine()
383 for (const auto &Snippet : Snippets) in renderLine()