]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettext.h
ws changes only
[lyx.git] / src / insets / insettext.h
index 5141cc6d26acb7d6fd9d8e3db4b27f1aac27a1a0..614e8f996e3754e1ddd53089804f5258c1c9e2c2 100644 (file)
@@ -80,7 +80,7 @@ public:
        bool unlockInsetInInset(BufferView *,
                                UpdatableInset *, bool lr = false);
        ///
-       RESULT localDispatch(FuncRequest const &);
+       dispatch_result localDispatch(FuncRequest const &);
        ///
        int latex(Buffer const &, std::ostream &,
                  LatexRunParams const &) const;
@@ -218,22 +218,22 @@ private:
        void lfunMouseMotion(FuncRequest const &);
 
        ///
-       RESULT moveRight(BufferView *);
+       dispatch_result moveRight(BufferView *);
        ///
-       RESULT moveLeft(BufferView *);
+       dispatch_result moveLeft(BufferView *);
        ///
-       RESULT moveRightIntern(BufferView *, bool front,
+       dispatch_result moveRightIntern(BufferView *, bool front,
                                               bool activate_inset = true,
                                               bool selecting = false);
        ///
-       RESULT moveLeftIntern(BufferView *, bool front,
+       dispatch_result moveLeftIntern(BufferView *, bool front,
                                              bool activate_inset = true,
                                              bool selecting = false);
 
        ///
-       RESULT moveUp(BufferView *);
+       dispatch_result moveUp(BufferView *);
        ///
-       RESULT moveDown(BufferView *);
+        dispatch_result moveDown(BufferView *);
        ///
        void setCharFont(Buffer const &, int pos, LyXFont const & font);
        ///
@@ -276,7 +276,7 @@ private:
        ///
        mutable int top_y;
        ///
-       ParagraphList::iterator inset_par;
+       lyx::paroffset_type inset_par;
        ///
        lyx::pos_type inset_pos;
        ///
@@ -290,7 +290,7 @@ private:
        ///
        UpdatableInset * the_locking_inset;
        ///
-       mutable ParagraphList::iterator old_par;
+       mutable lyx::paroffset_type old_par;
 
        ///
        // to remember old painted frame dimensions to clear it on the right spot!