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 column = (int)get_column(buffer, tabstop, it.coord());
|
||||||
int count = tabstop - (column % tabstop);
|
int count = tabstop - (column % tabstop);
|
||||||
String padding = "→";
|
atom_it->replace("→" + String(' ', count-1));
|
||||||
for (int i = 0; i < count-1; ++i)
|
|
||||||
padding += ' ';
|
|
||||||
atom_it->replace(padding);
|
|
||||||
}
|
}
|
||||||
else if (c == ' ')
|
else if (c == ' ')
|
||||||
atom_it->replace("·");
|
atom_it->replace("·");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user