Squash a too-verbose log message
This commit is contained in:
@@ -77,7 +77,7 @@ static void push_snippets(size_t start, size_t end, text_params_t& options, size
|
|||||||
}
|
}
|
||||||
size_t amount = end - start;
|
size_t amount = end - start;
|
||||||
snippets.push_back({str.substr(start,amount), loc, hilited});
|
snippets.push_back({str.substr(start,amount), loc, hilited});
|
||||||
if(hilited) std::cout << "Hiliting passage : \"" << snippets.back().text << '"' << std::endl;
|
// if(hilited) std::cout << "Hiliting passage : \"" << snippets.back().text << '"' << std::endl;
|
||||||
loc.x += string_length(snippets.back().text, options.style);
|
loc.x += string_length(snippets.back().text, options.style);
|
||||||
start = end;
|
start = end;
|
||||||
end = upper_bound;
|
end = upper_bound;
|
||||||
|
|||||||
Reference in New Issue
Block a user