mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 21:22:00 +03:00
Small code tweak in show_whitespaces highlighter
This commit is contained in:
parent
ededc84c8c
commit
ae720b90b1
@ -689,10 +689,7 @@ void show_whitespaces(const Context& context, HighlightFlags flags, DisplayBuffe
|
||||
{
|
||||
int column = (int)get_column(buffer, tabstop, it.coord());
|
||||
int count = tabstop - (column % tabstop);
|
||||
String padding = "→";
|
||||
for (int i = 0; i < count-1; ++i)
|
||||
padding += ' ';
|
||||
atom_it->replace(padding);
|
||||
atom_it->replace("→" + String(' ', count-1));
|
||||
}
|
||||
else if (c == ' ')
|
||||
atom_it->replace("·");
|
||||
|
Loading…
Reference in New Issue
Block a user