]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_inset.h
make cursor less eager to leave the formula when pressing 'up' or 'down'
[lyx.git] / src / mathed / math_inset.h
index a6587c43988cec3cc1fd28cf3862b428febdb159..b617ed20af942f9bc29028689892bc54b0a9a1a4 100644 (file)
@@ -119,8 +119,16 @@ public:
 
        /// Target pos when we enter the inset from the left by pressing "Right"
        virtual bool idxFirst(idx_type & idx, pos_type & pos) const;
+       /// Target pos when we enter the inset from the left by pressing "Up"
+       virtual bool idxFirstUp(idx_type & idx, pos_type & pos) const;
+       /// Target pos when we enter the inset from the left by pressing "Down"
+       virtual bool idxFirstDown(idx_type & idx, pos_type & pos) const;
        /// Target pos when we enter the inset from the right by pressing "Left"
        virtual bool idxLast(idx_type & idx, pos_type & pos) const;
+       /// Target pos when we enter the inset from the right by pressing "Up"
+       virtual bool idxLastUp(idx_type & idx, pos_type & pos) const;
+       /// Target pos when we enter the inset from the right by pressing "Down"
+       virtual bool idxLastDown(idx_type & idx, pos_type & pos) const;
 
        /// Where should we go if we press home?
        virtual bool idxHome(idx_type & idx, pos_type & pos) const;