+2002-07-25 Juergen Vigna <jug@sad.it>
+
+ * undo_funcs.C (createUndo): remove debugging code.
+
2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (parseSingleLyXformat2Token): Use default placement
+2002-07-25 Juergen Vigna <jug@sad.it>
+
+ * XWorkArea.C (work_area_handler): set y_old and x_old to some
+ values in the MOUSE or DRAG even.
+
2002-07-25 John Levon <levon@movementarian.org>
* forms/form_float.fd: "Span columns"
ev->xmotion.y != y_old ||
fl_get_scrollbar_value(area->scrollbar) != scrollbar_value_old
) {
+ x_old = ev->xmotion.x;
+ y_old = ev->xmotion.y;
+ scrollbar_value_old = fl_get_scrollbar_value(area->scrollbar);
lyxerr[Debug::WORKAREA] << "Workarea event: MOUSE" << endl;
area->workAreaMotionNotify(ev->xmotion.x - ob->x,
ev->xmotion.y - ob->y,
+2002-07-25 Juergen Vigna <jug@sad.it>
+
+ * insettabular.C (insetMotionNotify): Don't update the screen
+ if we didn't do nothing.
+
2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
* insetfloat.C (read, write): Allow default placement
}
hideInsetCursor(bv);
-// int const old_cell = actcell;
+ int const old_cell = actcell;
setPos(bv, x, y);
if (!hasSelection()) {
setSelection(actcell, actcell);
- } else {
+ updateLocal(bv, SELECTION, false);
+ } else if (old_cell != actcell) {
setSelection(sel_cell_start, actcell);
+ updateLocal(bv, SELECTION, false);
}
- updateLocal(bv, SELECTION, false);
showInsetCursor(bv);
}
while (tmppar != end && tmppar->next()) {
tmppar = tmppar->next();
-// FIXME: what does this #if 0 mean ?
-#if 0
tmppar2->next(new Paragraph(*tmppar, true));
-#else
- Paragraph * ptmp = new Paragraph(*tmppar, true);
- tmppar2->next(ptmp);
-#endif
// a memory optimization: Just store the layout
// information when only edit
if (kind == Undo::EDIT) {