Remove some showInsetCursor calls we don't really need (fix #106).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3764 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2002-03-18 14:53:21 +00:00
parent 961b1a47ed
commit 0fd56e0359
3 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,12 @@
2002-03-18 Juergen Vigna <jug@sad.it>
* insettabular.C (unlockInsetInInset): removed unneeded showCursor
calls.
(localDispatch): ditto
* insettext.C (edit): removed unneeded showCursor calls.
(localDispatch): ditto.
2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetgraphics.h: remove display() method.

View File

@ -694,7 +694,7 @@ bool InsetTabular::unlockInsetInInset(BufferView * bv, UpdatableInset * inset,
scroll(bv, 0.0F);
#endif
updateLocal(bv, CELL, false);
showInsetCursor(bv, false);
// showInsetCursor(bv, false);
return true;
}
if (the_locking_inset->unlockInsetInInset(bv, inset, lr)) {
@ -1276,7 +1276,7 @@ InsetTabular::localDispatch(BufferView * bv, kb_action action,
}
if (result < FINISHED) {
if (!the_locking_inset) {
showInsetCursor(bv);
// showInsetCursor(bv);
}
} else
bv->unlockInset(this);

View File

@ -676,7 +676,7 @@ void InsetText::edit(BufferView * bv, int x, int y, unsigned int button)
font.setLanguage(bv->getParentLanguage(this));
setFont(bv, font, false);
}
showInsetCursor(bv);
// showInsetCursor(bv);
if (clear)
lt = 0;
@ -725,7 +725,7 @@ void InsetText::edit(BufferView * bv, bool front)
font.setLanguage(bv->getParentLanguage(this));
setFont(bv, font, false);
}
showInsetCursor(bv);
// showInsetCursor(bv);
if (clear)
lt = 0;
int code = CURSOR;
@ -1440,9 +1440,7 @@ InsetText::localDispatch(BufferView * bv,
setFont(bv, font, false);
}
if (result < FINISHED) {
showInsetCursor(bv);
} else
if (result >= FINISHED)
bv->unlockInset(this);
return result;
}