]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
Partial fix bug 2092: branches not propagated to child documents
[lyx.git] / src / lyxtext.h
index 52f9b6b34b292b945551576f8049c539693cf2d0..a26b8136ae1bfb06d646c6c637c7c79194022be4 100644 (file)
@@ -176,8 +176,8 @@ public:
        void recUndo(pit_type first, pit_type last) const;
        ///
        void recUndo(pit_type first) const;
-       ///
-       void setCursorFromCoordinates(LCursor & cur, int x, int y);
+       /// returns true if par was empty and was removed
+       bool setCursorFromCoordinates(LCursor & cur, int x, int y);
        ///
        InsetBase * editXY(LCursor & cur, int x, int y);
        /// Move cursor one line up.
@@ -373,7 +373,7 @@ private:
        void fixCursorAfterDelete(CursorSlice & cur, CursorSlice const & where);
 
        /// delete double space or empty paragraphs around old cursor
-       bool deleteEmptyParagraphMechanism(LCursor & cur, LCursor const & old);
+       bool deleteEmptyParagraphMechanism(LCursor & cur, LCursor & old);
 
        ///
        void deleteWordForward(LCursor & cur);