]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.h
Fix 18 memory leaks
[lyx.git] / src / DocIterator.h
index 3f718697ad35cd761c618766f547823bc97212c2..cde876cd86f1382a4a6938bfd7f3a91d876eca31 100644 (file)
@@ -165,6 +165,8 @@ public:
        Paragraph & innerParagraph() const;
        /// return the inner text slice.
        CursorSlice const & innerTextSlice() const;
+       // convert a DocIterator into an argument to LFUN_PARAGRAPH_GOTO
+       docstring paragraphGotoArgument() const;
        /// returns a DocIterator for the containing text inset
        DocIterator getInnerText() const;
        /// the first and last positions of a word at top cursor slice
@@ -182,6 +184,10 @@ public:
        //
        // elementary moving
        //
+       /// move one step backwards
+       bool posBackward();
+       /// move one step forward
+       bool posForward();
        /**
         * move on one logical position, descend into nested insets
         * including collapsed insets