Home | History | Annotate | Download | only in gn

Lines Matching full:highlight

61   std::string highlight;
62 highlight.resize(line_length);
64 highlight[i] = ' ';
66 // Highlight all the ranges on the line.
68 FillRangeOnLine(ranges[i], location.line_number(), &highlight);
71 highlight.push_back(' ');
73 location.char_offset() - 1 < static_cast<int>(highlight.size()));
74 highlight[location.char_offset() - 1] = '^';
77 while (!highlight.empty() && highlight[highlight.size() - 1] == ' ')
78 highlight.resize(highlight.size() - 1);
80 highlight += "\n";
81 OutputString(highlight, DECORATION_BLUE);