]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.h
Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.
[lyx.git] / src / DocIterator.h
index 093fcb1d2d3763d47cb14499793abaddec43a419..fe05e398c841ac228094beba4af124abfc7b66cb 100644 (file)
@@ -148,9 +148,11 @@ public:
        /// \warning only works within text!
        Paragraph & paragraph() const;
        /// the paragraph we're in in any case.
-       /// This method will give the containing paragraph if
-       /// in not in text mode (ex: in mathed).
+       /// This method will give the containing paragraph even
+       /// if not in text mode (ex: in mathed).
        Paragraph & innerParagraph() const;
+       /// return the inner text slice.
+       CursorSlice const & innerTextSlice() const;
        ///
        Text * text() const;
        /// the containing inset or the cell, respectively
@@ -172,8 +174,6 @@ public:
        void forwardChar();
        /// move on one paragraph
        void forwardPar();
-       /// move on one cell
-       void forwardIdx();
        /// move on one inset
        void forwardInset();
        /// move backward one logical position
@@ -182,8 +182,6 @@ public:
        void backwardChar();
        /// move backward one paragraph
        void backwardPar();
-       /// move backward one cell
-       void backwardIdx();
        /// move backward one inset
        /// FIXME: This is not implemented!
        //void backwardInset();