mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* InsetTabular.cpp cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28369 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
391c3e3943
commit
22f7d3b3ba
@ -3391,18 +3391,14 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
// LEFT or RIGHT commands --- the interpretation will depend on the
|
||||
// table's direction.
|
||||
else {
|
||||
bool right = (cmd.action == LFUN_CHAR_RIGHT
|
||||
|| cmd.action == LFUN_CHAR_RIGHT_SELECT);
|
||||
next_cell = (isRightToLeft(cur) != right);
|
||||
bool const right = cmd.action == LFUN_CHAR_RIGHT
|
||||
|| cmd.action == LFUN_CHAR_RIGHT_SELECT;
|
||||
next_cell = isRightToLeft(cur) != right;
|
||||
|
||||
if (lyxrc.visual_cursor) {
|
||||
if (lyxrc.visual_cursor)
|
||||
entry_from = right ? ENTRY_DIRECTION_LEFT:ENTRY_DIRECTION_RIGHT;
|
||||
}
|
||||
|
||||
if (right)
|
||||
finish_lfun = LFUN_FINISHED_RIGHT;
|
||||
else
|
||||
finish_lfun = LFUN_FINISHED_LEFT;
|
||||
finish_lfun = right ? LFUN_FINISHED_RIGHT : LFUN_FINISHED_LEFT;
|
||||
}
|
||||
|
||||
// if we don't have a multicell selection...
|
||||
|
Loading…
Reference in New Issue
Block a user