From: Jean-Marc Lasgouttes Date: Tue, 23 Jun 2020 21:33:37 +0000 (+0200) Subject: Make all unbreakable spaces of the same Color_latex color X-Git-Tag: lyx-2.4.0dev-acb2ca7b~717 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=49e1466f93b63b0489549d40ebbde944eff1c7f6;p=features.git Make all unbreakable spaces of the same Color_latex color Of course, this means that negative spaces cannot be recognized anymore. --- diff --git a/src/insets/InsetSpace.cpp b/src/insets/InsetSpace.cpp index 34ce9b51f6..33170448d8 100644 --- a/src/insets/InsetSpace.cpp +++ b/src/insets/InsetSpace.cpp @@ -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;