* 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:
Vincent van Ravesteijn 2009-02-05 22:14:57 +00:00
parent 391c3e3943
commit 22f7d3b3ba

View File

@ -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...