Dov Feldstern wrote:
Abdelrazak Younes wrote:
Dov, please verify this.
-void InsetTabular::edit(Cursor & cur, bool, EntryDirectionType)
+void InsetTabular::edit(Cursor & cur, bool, EntryDirectionType
direction)
{
//lyxerr << "InsetTabular::edit: " << this << endl;
cur.finishUndo();
cur.selection() = false;
cur.push(*this);
- if (left) {
+ if (direction == ENTER_FROM_LEFT) {
if (isRightToLeft(cur))
cur.idx() = tabular.getLastCellInRow(0);
else
This was an oversight on my part --- I didn't realize that 'left' was
being used in the function. I don't understand how it compiled, though?
It's defined in some Qt header. But MSVC gave me a warning.
Abdel.