- /// set the paragraph that contains this cursor
- void par(par_type par);
- /// return the paragraph this cursor is in
- par_type par() const;
- /// return the paragraph this cursor is in
- par_type & par();
- /// set the position within the paragraph
- void pos(pos_type pos);
+ /// return the offset of the paragraph this cursor is in
+ pit_type pit() const { return pit_; }
+ /// set the offset of the paragraph this cursor is in
+ pit_type & pit() { return pit_; }
+ /// increments the paragraph this cursor is in
+ void incrementPar();
+ /// increments the paragraph this cursor is in
+ void decrementPar();