X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fcursor_slice.h;h=22218ea713a2ba03e24de4f4953cad13d5167b10;hb=3bc4d28449143f6c90cf8209f29693c975801b28;hp=f08fe045af4d27ba794c563d03fe8c91c4e8e203;hpb=2805c297349d82c62f3b0d9c2dcc45611e748f53;p=lyx.git diff --git a/src/cursor_slice.h b/src/cursor_slice.h index f08fe045af..22218ea713 100644 --- a/src/cursor_slice.h +++ b/src/cursor_slice.h @@ -23,6 +23,9 @@ #include #include + +namespace lyx { + class BufferView; class InsetBase; class MathInset; @@ -41,10 +44,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 +153,7 @@ bool operator>(CursorSlice const &, CursorSlice const &); /// test for order bool operator<=(CursorSlice const &, CursorSlice const &); + +} // namespace lyx + #endif