Merge faces in show_whitespaces highlighter instead of replacing it
This commit is contained in:
parent
8b1078e510
commit
777ba287e1
|
@ -721,7 +721,7 @@ void show_whitespaces(const Context& context, HighlightFlags flags, DisplayBuffe
|
||||||
atom_it->replace(lf.str());
|
atom_it->replace(lf.str());
|
||||||
else if (cp == 0xA0)
|
else if (cp == 0xA0)
|
||||||
atom_it->replace(nbsp.str());
|
atom_it->replace(nbsp.str());
|
||||||
atom_it->face = whitespaceface;
|
atom_it->face = merge_faces(atom_it->face, whitespaceface);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user