]> git.lyx.org Git - lyx.git/blobdiff - src/pariterator.h
Fix bug 2485 and crash on middle mouse paste on math
[lyx.git] / 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;
 };