Only use separator-cursor for the first line number in a wrapped line
This commit is contained in:
parent
73ecd3356f
commit
07e2b03c11
|
@ -1151,8 +1151,8 @@ private:
|
||||||
const auto atom_face = last_line == current_line ? face_wrapped :
|
const auto atom_face = last_line == current_line ? face_wrapped :
|
||||||
((m_hl_cursor_line and is_cursor_line) ? face_absolute : face);
|
((m_hl_cursor_line and is_cursor_line) ? face_absolute : face);
|
||||||
|
|
||||||
const auto& separator {is_cursor_line && m_separator_cursor ? *m_separator_cursor
|
const auto& separator {is_cursor_line && m_separator_cursor && last_line != current_line
|
||||||
: m_separator};
|
? *m_separator_cursor : m_separator};
|
||||||
|
|
||||||
line.insert(line.begin(), {buffer, atom_face});
|
line.insert(line.begin(), {buffer, atom_face});
|
||||||
line.insert(line.begin() + 1, {separator, face});
|
line.insert(line.begin() + 1, {separator, face});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user