1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-30 23:37:17 +03:00

Use a specific WrapMarker face for wrap highlighter wrapped line marker

This commit is contained in:
Maxime Coste 2019-10-25 15:12:37 +11:00
parent ec31d83972
commit 0f292d343b
2 changed files with 2 additions and 1 deletions

View File

@ -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 }} },

View File

@ -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)
{