From 49e1466f93b63b0489549d40ebbde944eff1c7f6 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 23 Jun 2020 23:33:37 +0200 Subject: [PATCH] Make all unbreakable spaces of the same Color_latex color Of course, this means that negative spaces cannot be recognized anymore. --- src/insets/InsetSpace.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2