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;
///
explicit CursorSlice(Inset &);
- /// comparison operators.
+ /// \name Comparison operators.
//@{
friend bool operator==(CursorSlice const &, CursorSlice const &);
friend bool operator!=(CursorSlice const &, CursorSlice const &);
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