fix whitespace label
The author of this work hereby waives all claim of copyright (economic and moral) in this work and immediately places it in the public domain; it may be used, distorted or destroyed in any manner whatsoever without further attribution or notice to the creator
This commit is contained in:
parent
d4b8e28d0a
commit
3044eff356
|
@ -121,7 +121,7 @@ FaceRegistry::FaceRegistry()
|
||||||
{ "Prompt", Face{ Color::Yellow, Color::Default } },
|
{ "Prompt", Face{ Color::Yellow, Color::Default } },
|
||||||
{ "MatchingChar", Face{ Color::Default, Color::Default, Attribute::Bold } },
|
{ "MatchingChar", Face{ Color::Default, Color::Default, Attribute::Bold } },
|
||||||
{ "BufferPadding", Face{ Color::Blue, Color::Default } },
|
{ "BufferPadding", Face{ Color::Blue, Color::Default } },
|
||||||
{ "WhiteSpace", Face{ Color::Default, Color::Default } },
|
{ "Whitespace", Face{ Color::Default, Color::Default } },
|
||||||
}
|
}
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
|
@ -683,7 +683,7 @@ void expand_tabulations(const Context& context, HighlightFlags flags, DisplayBuf
|
||||||
void show_whitespaces(const Context& context, HighlightFlags flags, DisplayBuffer& display_buffer, BufferRange)
|
void show_whitespaces(const Context& context, HighlightFlags flags, DisplayBuffer& display_buffer, BufferRange)
|
||||||
{
|
{
|
||||||
const int tabstop = context.options()["tabstop"].get<int>();
|
const int tabstop = context.options()["tabstop"].get<int>();
|
||||||
auto whitespaceface = get_face("WhiteSpace");
|
auto whitespaceface = get_face("Whitespace");
|
||||||
auto& buffer = context.buffer();
|
auto& buffer = context.buffer();
|
||||||
for (auto& line : display_buffer.lines())
|
for (auto& line : display_buffer.lines())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user