]> git.lyx.org Git - lyx.git/blobdiff - src/cursor_slice.h
Add margin to paragraph dialog.
[lyx.git] / src / cursor_slice.h
index f08fe045af4d27ba794c563d03fe8c91c4e8e203..651fb1c9dda22b6ab254c48c89b6dfd7ca98eb0b 100644 (file)
 #include <cstddef>
 #include <iosfwd>
 
-class BufferView;
+
+namespace lyx {
+
 class InsetBase;
-class MathInset;
 class MathArray;
 class LyXText;
 class Paragraph;
@@ -41,10 +42,6 @@ class CursorSlice {
 public:
        /// type for cell number in inset
        typedef size_t idx_type;
-       /// type for paragraph numbers positions within a cell
-       typedef lyx::pit_type pit_type;
-       /// type for cursor positions within a cell
-       typedef lyx::pos_type pos_type;
        /// type for row indices
        typedef size_t row_type;
        /// type for col indices
@@ -154,4 +151,7 @@ bool operator>(CursorSlice const &, CursorSlice const &);
 /// test for order
 bool operator<=(CursorSlice const &, CursorSlice const &);
 
+
+} // namespace lyx
+
 #endif