X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCursorSlice.h;h=eb865de9482013ec8f742b9689d946fb2b525965;hb=19f5aa58aa55fe210c689052967ade0f943f82fb;hp=f44c92e0c29b3c5bc9f5795153fe965435ab9a7c;hpb=3b6232679d201b78de40e60e2d312fd281b29e30;p=lyx.git diff --git a/src/CursorSlice.h b/src/CursorSlice.h index f44c92e0c2..eb865de948 100644 --- a/src/CursorSlice.h +++ b/src/CursorSlice.h @@ -24,7 +24,7 @@ namespace lyx { -class Inset; +class InsetMath; class MathData; class Text; class Paragraph; @@ -44,13 +44,6 @@ public: friend class StableDocIterator; //@} - /// type for cell number in inset - typedef size_t idx_type; - /// type for row indices - typedef size_t row_type; - /// type for col indices - typedef size_t col_type; - /// CursorSlice(); /// @@ -119,6 +112,8 @@ public: Text * text() const { return inset_->getText(idx_); } /// paragraph in this cell Paragraph & paragraph() const; + /// + void setPitPos(pit_type pit, pos_type pos); /// /// mathed specific stuff @@ -146,7 +141,7 @@ public: bool at_end() const; /// are we at the start of this slice bool at_begin() const; - + private: /// pointer to 'owning' inset. This is some kind of cache.