mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
Fix a selection bug in InsetTabular
If you have a selection across cells in tabular, moving the cursor vertically up or down (e.g. LFUN_UP) now removes the drawn selection. Before, the selection was set to false but it was not repainted.
This commit is contained in:
parent
57ca9ee073
commit
776e66688f
@ -4095,7 +4095,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
cur.setCurrentFont();
|
cur.setCurrentFont();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cur.screenUpdateFlags(Update::FitCursor);
|
cur.screenUpdateFlags(Update::Force | Update::FitCursor);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_UP_SELECT:
|
case LFUN_UP_SELECT:
|
||||||
@ -4133,7 +4133,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
cur.setCurrentFont();
|
cur.setCurrentFont();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cur.screenUpdateFlags(Update::FitCursor);
|
cur.screenUpdateFlags(Update::Force | Update::FitCursor);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// case LFUN_SCREEN_DOWN: {
|
// case LFUN_SCREEN_DOWN: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user