]> git.lyx.org Git - lyx.git/blobdiff - src/texrow.h
Fix inline collapsable inset set focus crash
[lyx.git] / src / texrow.h
index 6a8f4b0aa17f7059891310feda03e797b2b91b19..699ee1f6f4e0d60d3df6fbdc82044de61c50692d 100644 (file)
@@ -1,19 +1,25 @@
 // -*- C++ -*-
 /**
  * \file texrow.h
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Matthias Ettrich
+ * \author Lars Gullik Bjønnes
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
-
 #ifndef TEXROW_H
 #define TEXROW_H
 
 #include <list>
 
 
+namespace lyx {
+
+
 /// Represents the correspondence between paragraphs and the generated LaTeX file
 class TexRow {
 public:
@@ -73,16 +79,13 @@ public:
                        return rownumber_;
                }
        private:
+               RowItem();
                int id_;
                int pos_;
                int rownumber_;
        };
        ///
        typedef std::list<RowItem> RowList;
-       /// increment position of all other RowItems
-       /// with same par id, to avoid placing error insets
-       /// at the same position
-       void increasePos(int id, int pos);
 private:
        /// number of lines
        unsigned int count;
@@ -94,4 +97,7 @@ private:
        int lastpos;
 };
 
+
+} // namespace lyx
+
 #endif // TEXROW_H