X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FOutputParams.h;h=b3359d417ae18340a63a0c4e4234e4349ddb45fe;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=391461788326294f468a81e964ae425ba28ea756;hpb=4508a7f855976bb1b23d8f9008a331204f31e651;p=lyx.git diff --git a/src/OutputParams.h b/src/OutputParams.h index 3914617883..b3359d417a 100644 --- a/src/OutputParams.h +++ b/src/OutputParams.h @@ -79,6 +79,8 @@ public: This esentially seems to mean whether InsetInclude, InsetGraphics and InsetExternal should add the absolute path to any external files or not. + Non-nice LaTeX also includes additional safe line breaks in order to + increase the precision of forward/reverse search and error reporting. */ bool nice; @@ -185,6 +187,16 @@ public: */ std::shared_ptr exportdata; + /** Whether we are entering a display math inset. + * Needed to correctly strike out deleted math in change tracking. + */ + mutable bool inDisplayMath; + + /** Whether we are leaving a display math inset. + * Needed to correctly track nested ulem commands in change tracking. + */ + mutable bool wasDisplayMath; + /** Whether we are inside a comment inset. Insets that are including * external files like InsetGraphics, InsetInclude and InsetExternal * may only write the usual output and must not attempt to do