mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix a bug when selecting a cell in InsetTabular
Fix the following bug:
When in tabular, enter "ab" in a cell. Place the cursor before "b". Hold
shift and press <right>, then (still holding shift) <right> again. On
the second <right> nothing appears to happen.
Related to #1802.
(cherry picked from commit 4b706051b7
)
This commit is contained in:
parent
80a5892049
commit
cf7b38ee23
@ -4054,6 +4054,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
if (select_whole && !empty_cell){
|
||||
getText(cur.idx())->selectAll(cur);
|
||||
cur.dispatched();
|
||||
cur.screenUpdateFlags(Update::Force | Update::FitCursor);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -90,6 +90,8 @@ What's new
|
||||
|
||||
- Allow arguments in PassThru environments (bug 7646).
|
||||
|
||||
- Fix a few selection bugs in tabular (bug 4981).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user