]> git.lyx.org Git - lyx.git/commitdiff
Add method: pit_type & pit()
authorAbdelrazak Younes <younes@lyx.org>
Sat, 8 Apr 2006 05:17:45 +0000 (05:17 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 8 Apr 2006 05:17:45 +0000 (05:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13594 a592a061-630c-0410-9148-cb99ea01b6c8

src/pariterator.h

index 304faaf5992b5d2cc44d1497c0313bd503949a9f..dac6626b5bb442c299de272f76ebaf7d749bf272 100644 (file)
@@ -66,6 +66,9 @@ public:
        ///
        lyx::pit_type pit() const;
        ///
+       /// return the paragraph this cursor is in
+       pit_type & pit() { return DocIterator::pit(); }
+
        ParagraphList & plist() const;
 };