mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Force a SELECTION update if we had a selection and we passed the event down to
the inset (fix #213). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3587 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1120aa806c
commit
529603f179
@ -9,6 +9,7 @@ src/converter.C
|
||||
src/CutAndPaste.C
|
||||
src/debug.C
|
||||
src/exporter.C
|
||||
src/ext_l10n.h
|
||||
src/figure_form.C
|
||||
src/figureForm.C
|
||||
src/FontLoader.C
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-26 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* insettabular.C (localDispatch): force a SELECTION update if we
|
||||
had a selection and we passed the event down to the inset (fix #213)
|
||||
|
||||
2002-02-22 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* insettext.C (insetUnlock): set the cursor to the second paragraph
|
||||
|
@ -534,7 +534,7 @@ void InsetTabular::update(BufferView * bv, LyXFont const & font, bool reinit)
|
||||
need_update = INIT;
|
||||
break;
|
||||
case SELECTION:
|
||||
need_update = INIT;
|
||||
need_update = FULL;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@ -612,7 +612,7 @@ void InsetTabular::insetUnlock(BufferView * bv)
|
||||
|
||||
|
||||
void InsetTabular::updateLocal(BufferView * bv, UpdateCodes what,
|
||||
bool mark_dirty) const
|
||||
bool mark_dirty) const
|
||||
{
|
||||
if (what == INIT) {
|
||||
LyXFont font;
|
||||
@ -1204,6 +1204,9 @@ InsetTabular::localDispatch(BufferView * bv, kb_action action,
|
||||
return UNDISPATCHED;
|
||||
} else if (hs) {
|
||||
clearSelection();
|
||||
// so the below CELL is not set because this is higher
|
||||
// priority and we get a full redraw
|
||||
need_update = SELECTION;
|
||||
}
|
||||
nodraw(false);
|
||||
updateLocal(bv, CELL, false);
|
||||
|
Loading…
Reference in New Issue
Block a user