Use a specific WrapMarker face for wrap highlighter wrapped line marker
This commit is contained in:
parent
ec31d83972
commit
0f292d343b
|
@ -162,6 +162,7 @@ FaceRegistry::FaceRegistry()
|
|||
{ "LineNumbers", {Face{ Color::Default, Color::Default }} },
|
||||
{ "LineNumberCursor", {Face{ Color::Default, Color::Default, Attribute::Reverse }} },
|
||||
{ "LineNumbersWrapped", {Face{ Color::Default, Color::Default, Attribute::Italic }} },
|
||||
{ "WrapMarker", {Face{ Color::Blue, Color::Default }} },
|
||||
{ "MenuForeground", {Face{ Color::White, Color::Blue }} },
|
||||
{ "MenuBackground", {Face{ Color::Blue, Color::White }} },
|
||||
{ "MenuInfo", {Face{ Color::Cyan, Color::Default }} },
|
||||
|
|
|
@ -673,7 +673,7 @@ struct WrapHighlighter : Highlighter
|
|||
const int tabstop = context.context.options()["tabstop"].get<int>();
|
||||
const LineCount win_height = context.context.window().dimensions().line;
|
||||
const ColumnCount marker_len = zero_if_greater(m_marker.column_length(), wrap_column);
|
||||
const Face face_marker = context.context.faces()["StatusLineInfo"];
|
||||
const Face face_marker = context.context.faces()["WrapMarker"];
|
||||
for (auto it = display_buffer.lines().begin();
|
||||
it != display_buffer.lines().end(); ++it)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user