SelectionHighlighter: highlight end of lines in selection

This commit is contained in:
Maxime Coste 2011-11-24 19:13:38 +00:00
parent ea2aeea3a4
commit dcfb5e15f2

View File

@ -266,6 +266,12 @@ public:
else
assert(false);
}
boost::regex ex("\n");
for (auto& sel : sorted_selections)
colorize_regex_range(display_buffer, sel.begin(), sel.end(),
ex, Color::Default, Color::Yellow);
}
static FilterAndId create(Window& window,