mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-19 05:53:35 +00:00
fix selecting performance in tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4817 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3bb27b97b2
commit
04720fe8b8
@ -1,9 +1,12 @@
|
||||
2002-07-25 Edwin Leuven <leuven@fee.uva.nl>
|
||||
|
||||
* insettabular.C (insetMotionNotify): reduce updates on mouse move
|
||||
in selected cell
|
||||
|
||||
2002-07-26 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* insettabular.C: ditto
|
||||
|
||||
* insettext.C: ditto
|
||||
|
||||
* insettabular.C:
|
||||
* insettext.C:
|
||||
* insetcollapsable.C: adaptions to changes in lyxfind.C
|
||||
|
||||
2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
@ -861,15 +861,16 @@ void InsetTabular::insetMotionNotify(BufferView * bv, int x, int y, int button)
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -65,6 +65,8 @@ What's new
|
||||
- fix bug where using case changing commands on the last word of a
|
||||
paragraph would change the whole document (without any undo possible!)
|
||||
|
||||
- fix performance bug when selecting table cells with the mouse
|
||||
|
||||
- in commands that operate on words (Insert>Index...), make sure not
|
||||
to include insets in words
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user