X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fcursor_slice.h;h=30f0b95888496a413a63a2673fa589aa29192eff;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=03137bfdcc7467184d3f1403b9eafa3ff77c9584;hpb=ed064bdee611821c1ebdac78b7a085dfde9f0b5a;p=lyx.git diff --git a/src/cursor_slice.h b/src/cursor_slice.h index 03137bfdcc..30f0b95888 100644 --- a/src/cursor_slice.h +++ b/src/cursor_slice.h @@ -64,9 +64,9 @@ public: idx_type & idx() { return idx_; } /// return the last cell in this inset idx_type lastidx() const { return nargs() - 1; } - /// return the paragraph this cursor is in + /// return the offset of the paragraph this cursor is in pit_type pit() const { return pit_; } - /// set the paragraph this cursor is in + /// set the offset of the paragraph this cursor is in pit_type & pit() { return pit_; } /// increments the paragraph this cursor is in void incrementPar();