]> git.lyx.org Git - lyx.git/blobdiff - src/Spacing.h
Avoid full metrics computation with Update:FitCursor
[lyx.git] / src / Spacing.h
index afdcda1773cfdaed577afefead22647907a38081..7311f792b5a3b5ae7ec98e90430db607a30ac52c 100644 (file)
 #ifndef SPACING_H
 #define SPACING_H
 
-#ifdef TEX2LYX
-#include "tex2lyx/Spacing.h"
-#else
-
 #include "support/strfwd.h"
 
 #include <string>
@@ -66,6 +62,9 @@ public:
        std::string const writeEnvirEnd(bool useSetSpace) const;
        /// useSetSpace is true when using the variant supported by
        /// the memoir class.
+       std::string const writeCmd(bool useSetSpace) const;
+       /// useSetSpace is true when using the variant supported by
+       /// the memoir class.
        std::string const writePreamble(bool useSetSpace) const;
 
 private:
@@ -95,5 +94,4 @@ bool operator!=(Spacing const & a, Spacing const & b)
 
 } // namespace lyx
 
-#endif // TEX2LYX
 #endif // SPACING_H