X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftext3.C;h=83150ec5f1861fddd22ef4bdec71575918850fb8;hb=361a97b070b30421761afaa0152aaffd3c176759;hp=f7d9a8806df63939c6974acf49b38d85feff05fc;hpb=ceda236931d0a37c4edbc395002b85a5d0a671b1;p=lyx.git diff --git a/src/text3.C b/src/text3.C index f7d9a8806d..83150ec5f1 100644 --- a/src/text3.C +++ b/src/text3.C @@ -1028,15 +1028,15 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd) setCursorFromCoordinates(cur, cmd.x, y); cur.x_target() = cmd.x; if (cmd.y >= wh) - cursorDown(cur); + lyx::dispatch(FuncRequest(LFUN_DOWN_SELECT)); else if (cmd.y < 0) - cursorUp(cur); + lyx::dispatch(FuncRequest(LFUN_UP_SELECT)); // This is to allow jumping over large insets if (cur.top() == old) { if (cmd.y >= wh) - cursorDown(cur); + lyx::dispatch(FuncRequest(LFUN_DOWN_SELECT)); else if (cmd.y < 0) - cursorUp(cur); + lyx::dispatch(FuncRequest(LFUN_UP_SELECT)); } if (cur.top() == old)