@ 261105.1

260809.1.4 · 750a6ccc65d11953d1cdb8ea744c37a31e607425

https://gitlab.com/saalen/highlight/-/work_items/240 emit the IndentGuide style and colour only when guides are enabled

reading declarations

Changes to src/core/texgenerator.cpp. All files

src/core/texgenerator.cpp

@@ -265,7 +265,9 @@ string TexGenerator::getStyleDefinition()          os << getAttributes ( STY_NAME_ERR, docStyle.getErrorStyle() );         os << getAttributes ( STY_NAME_ERM, docStyle.getErrorMessageStyle() );-        os << getAttributes ( STY_NAME_GUI, docStyle.getIndentGuideStyle() );+        if ( showIndentGuides ) {+            os << getAttributes ( STY_NAME_GUI, docStyle.getIndentGuideStyle() );+        }          for ( const auto &[first, second] : docStyle.getKeywordStyles() ) {             os << getAttributes ( first, second );