From: Jürgen Vigna Date: Mon, 18 Mar 2002 14:53:21 +0000 (+0000) Subject: Remove some showInsetCursor calls we don't really need (fix #106). X-Git-Tag: 1.6.10~19636 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0fd56e03598de84acf0be7fa7b4e5fab4c2fdb5e;p=features.git 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 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 9d4421ac11..1fb68b98e6 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,12 @@ +2002-03-18 Juergen Vigna + + * insettabular.C (unlockInsetInInset): removed unneeded showCursor + calls. + (localDispatch): ditto + + * insettext.C (edit): removed unneeded showCursor calls. + (localDispatch): ditto. + 2002-03-13 Jean-Marc Lasgouttes * insetgraphics.h: remove display() method. diff --git a/src/insets/insettabular.C b/src/insets/insettabular.C index 0f57c91d36..8dcea73ed2 100644 --- a/src/insets/insettabular.C +++ b/src/insets/insettabular.C @@ -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); diff --git a/src/insets/insettext.C b/src/insets/insettext.C index 5c16cd5974..5143020788 100644 --- a/src/insets/insettext.C +++ b/src/insets/insettext.C @@ -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; }