tweak number line highlighter style
This commit is contained in:
parent
ad178e383b
commit
9991292bd3
|
@ -42,7 +42,7 @@ ColorRegistry::ColorRegistry()
|
||||||
{ "SecondarySelection", { Colors::Black, Colors::Blue } },
|
{ "SecondarySelection", { Colors::Black, Colors::Blue } },
|
||||||
{ "PrimaryCursor", { Colors::Black, Colors::White } },
|
{ "PrimaryCursor", { Colors::Black, Colors::White } },
|
||||||
{ "SecondaryCursor", { Colors::Black, Colors::White } },
|
{ "SecondaryCursor", { Colors::Black, Colors::White } },
|
||||||
{ "LineNumbers", { Colors::Black, Colors::White } },
|
{ "LineNumbers", { Colors::Default, Colors::Default } },
|
||||||
{ "MenuForeground", { Colors::Blue, Colors::Cyan } },
|
{ "MenuForeground", { Colors::Blue, Colors::Cyan } },
|
||||||
{ "MenuBackground", { Colors::Cyan, Colors::Blue } },
|
{ "MenuBackground", { Colors::Cyan, Colors::Blue } },
|
||||||
{ "Information", { Colors::Black, Colors::Yellow } },
|
{ "Information", { Colors::Black, Colors::Yellow } },
|
||||||
|
|
|
@ -265,7 +265,7 @@ void show_line_numbers(DisplayBuffer& display_buffer)
|
||||||
for (LineCount c = last_line; c > 0; c /= 10)
|
for (LineCount c = last_line; c > 0; c /= 10)
|
||||||
++digit_count;
|
++digit_count;
|
||||||
|
|
||||||
char format[] = "%?d ";
|
char format[] = "%?d│";
|
||||||
format[1] = '0' + digit_count;
|
format[1] = '0' + digit_count;
|
||||||
auto& colors = get_color("LineNumbers");
|
auto& colors = get_color("LineNumbers");
|
||||||
for (auto& line : display_buffer.lines())
|
for (auto& line : display_buffer.lines())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user