mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
* compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18777 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5a9868f99f
commit
65b5de645b
@ -512,9 +512,13 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
|
||||
case LFUN_UP_SELECT:
|
||||
case LFUN_DOWN_SELECT:
|
||||
needsUpdate |= cur.selHandle(select);
|
||||
case LFUN_UP:
|
||||
case LFUN_DOWN: {
|
||||
// stop/start the selection
|
||||
bool select = cmd.action == LFUN_DOWN_SELECT ||
|
||||
cmd.action == LFUN_UP_SELECT;
|
||||
cur.selHandle(select);
|
||||
|
||||
// move cursor up/down
|
||||
bool up = cmd.action == LFUN_UP_SELECT || cmd.action == LFUN_UP;
|
||||
bool const successful = cur.upDownInText(up, needsUpdate);
|
||||
|
Loading…
x
Reference in New Issue
Block a user