mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
fix r22935, which was an attempt to fix a bug of mine in r22929.
This brings things back to the way they were (semantically) before r22929, which is the way they should be (visual mode has not been implemented for tables, yet, and therefore tables should not be semantically changed here). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22967 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
040f3431e7
commit
ea3dce8c69
@ -3153,13 +3153,13 @@ docstring const InsetTabular::editMessage() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void InsetTabular::edit(Cursor & cur, bool, EntryDirection direction)
|
void InsetTabular::edit(Cursor & cur, bool front, EntryDirection)
|
||||||
{
|
{
|
||||||
//lyxerr << "InsetTabular::edit: " << this << endl;
|
//lyxerr << "InsetTabular::edit: " << this << endl;
|
||||||
cur.finishUndo();
|
cur.finishUndo();
|
||||||
cur.selection() = false;
|
cur.selection() = false;
|
||||||
cur.push(*this);
|
cur.push(*this);
|
||||||
if (direction == ENTRY_DIRECTION_LEFT) {
|
if (front) {
|
||||||
if (isRightToLeft(cur))
|
if (isRightToLeft(cur))
|
||||||
cur.idx() = tabular.getLastCellInRow(0);
|
cur.idx() = tabular.getLastCellInRow(0);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user