]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_nestinset.C
small up/down tweaking
[lyx.git] / src / mathed / math_nestinset.C
index 9dd85d446a1656d3cf23ab80abb38089b1730339..053ac12356e4b5a8931a56c7cf7006cb90d46e29 100644 (file)
@@ -45,6 +45,7 @@ void MathNestInset::getPos(idx_type idx, pos_type pos, int & x, int & y) const
                x += 2;
 }
 
+
 void MathNestInset::substitute(MathMacro const & m)
 {
        for (idx_type i = 0; i < nargs(); ++i)
@@ -311,8 +312,10 @@ void MathNestInset::normalize(NormalStream & os) const
 }
 
 
-void MathNestInset::notifyCursorLeaves()
-{}
+void MathNestInset::notifyCursorLeaves(idx_type idx)
+{
+       cell(idx).notifyCursorLeaves();
+}
 
 
 MathInset::result_type MathNestInset::dispatch
@@ -334,13 +337,13 @@ MathInset::result_type MathNestInset::dispatch
                        return
                                dispatch(
                                        FuncRequest(bv, LFUN_PASTE, bv->getClipboard()), idx, pos);
-                       
+
                case LFUN_MOUSE_PRESS:
                        if (cmd.button() == mouse_button::button2)
                                return dispatch(FuncRequest(bv, LFUN_PASTESELECTION), idx, pos);
                        return UNDISPATCHED;
 
-               default:        
+               default:
                        return MathInset::dispatch(cmd, idx, pos);
        }
        return UNDISPATCHED;