]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNest.h
visual mode for bidi cursor movement
[lyx.git] / src / mathed / InsetMathNest.h
index 3b54b3a8af1bba9ae72036798aec0785698ef298..408d13a05b5c70623dab04abd1ee0d12790a2f91 100644 (file)
@@ -48,18 +48,19 @@ public:
        void cursorPos(BufferView const & bv, CursorSlice const & sl,
                bool boundary, int & x, int & y) const;
        ///
-       void edit(Cursor & cur, bool left);
+       void edit(Cursor & cur, bool front, 
+               EntryDirectionType entry_from = IGNORE_ENTRY_DIRECTION);
        ///
        Inset * editXY(Cursor & cur, int x, int y);
 
-       /// order of movement through the cells when pressing the left key
-       bool idxLeft(Cursor &) const;
-       /// order of movement through the cells when pressing the right key
-       bool idxRight(Cursor &) const;
+       /// order of movement through the cells when moving backwards
+       bool idxBackward(Cursor &) const;
+       /// order of movement through the cells when moving forward
+       bool idxForward(Cursor &) const;
 
-       /// move one physical cell up
+       /// move to next cell
        bool idxNext(Cursor &) const;
-       /// move one physical cell down
+       /// move to previous cell
        bool idxPrev(Cursor &) const;
 
        /// target pos when we enter the inset while moving forward