Make all unbreakable spaces of the same Color_latex color

Of course, this means that negative spaces cannot be recognized anymore.
This commit is contained in:
Jean-Marc Lasgouttes 2020-06-23 23:33:37 +02:00
parent 8535efafde
commit 49e1466f93

View File

@ -372,8 +372,11 @@ void InsetSpace::draw(PainterInfo & pi, int x, int y) const
Color col = Color_special;
if (params_.kind == InsetSpaceParams::PROTECTED ||
params_.kind == InsetSpaceParams::ENSPACE ||
params_.kind == InsetSpaceParams::THIN ||
params_.kind == InsetSpaceParams::NEGTHIN ||
params_.kind == InsetSpaceParams::MEDIUM ||
params_.kind == InsetSpaceParams::NEGMEDIUM ||
params_.kind == InsetSpaceParams::THICK ||
params_.kind == InsetSpaceParams::NEGTHICK ||
params_.kind == InsetSpaceParams::CUSTOM_PROTECTED)
col = Color_latex;