X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCursorSlice.h;h=d703cb4b3479ac3198c26ea3ed2df0dfaeb82f32;hb=8f93600d3fa8182ba43973075cf37e7ecb2be8d3;hp=19a6e1f581f69a55deac74e540aed0bb979535c8;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/CursorSlice.h b/src/CursorSlice.h index 19a6e1f581..d703cb4b34 100644 --- a/src/CursorSlice.h +++ b/src/CursorSlice.h @@ -38,11 +38,11 @@ class Paragraph; class CursorSlice { public: - /// Those needs inset_ access. - ///@{ + /// \name Those needs inset_ access. + //@{ friend class DocIterator; friend class StableDocIterator; - ///@} + //@} /// type for cell number in inset typedef size_t idx_type; @@ -56,7 +56,7 @@ public: /// explicit CursorSlice(Inset &); - /// comparison operators. + /// \name Comparison operators. //@{ friend bool operator==(CursorSlice const &, CursorSlice const &); friend bool operator!=(CursorSlice const &, CursorSlice const &); @@ -132,6 +132,10 @@ public: void forwardIdx(); /// move to previous cell void backwardIdx(); + /// are we at the end of the cell + bool at_cell_end() const; + /// are we at the start of the cell + bool at_cell_begin() const; /// are we at the end of this slice bool at_end() const; /// are we at the start of this slice