]> git.lyx.org Git - lyx.git/blobdiff - src/cursor_slice.h
fix crash when collapsing ert with cursor inside
[lyx.git] / src / cursor_slice.h
index 30f0b95888496a413a63a2673fa589aa29192eff..06414cfc4f2d3f00b6bddd179542ff82cdd1f1f6 100644 (file)
@@ -97,7 +97,9 @@ public:
        /// see comment for the member
        bool & boundary() { return boundary_; }
        ///
-       LyXText * text() const;
+       LyXText * text();
+       ///
+       LyXText const * text() const;
        ///
        UpdatableInset * asUpdatableInset() const;
        ///