]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
Added new FINISED states FINISHED_RIGHT, FINISHED_UP, FINISHED_DOWN.
[lyx.git] / src / buffer.h
index dedb17f273e22aae87cb9c14ff921af56a322edf..a68acbc26399c9a7a2a019ccae6e6ca67f4640d5 100644 (file)
@@ -31,6 +31,11 @@ class TeXErrors;
 class LaTeXFeatures;
 class Language;
 
+// When lyx 1.3.x starts we should enable this
+// btw. we should also test this with 1.2 so that we
+// do not get any surprises. (Lgb)
+//#define NO_COMPABILITY 1
+
 ///
 struct DEPCLEAN {
        ///
@@ -125,9 +130,14 @@ public:
                                        Paragraph::depth_type & depth, 
                                        LyXFont &);
        ///
+       void insertStringAsLines(Paragraph *&, Paragraph::size_type &,
+                                LyXFont const &, string const &) const;
+#ifndef NO_COMPABILITY
+       ///
        void insertErtContents(Paragraph * par, int & pos,
                               LyXFont const & font,
                               bool set_inactive = true);
+#endif
        ///
        Paragraph * getParFromID(int id) const;
 private: