From 4405aec901b2fdaa8609bfe2d62c98d2dfcae1da Mon Sep 17 00:00:00 2001 From: John Levon Date: Tue, 18 Jun 2002 17:22:17 +0000 Subject: [PATCH] minor tidy git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4418 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/lyxfunc.C | 11 ++--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 772d27f183..5ae05ba5f0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-06-18 John Levon + + * lyxfunc.C: tidy up a little + 2002-06-16 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory. diff --git a/src/lyxfunc.C b/src/lyxfunc.C index b78db82731..4408f4725e 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -239,7 +239,6 @@ void LyXFunc::processKeySym(LyXKeySymPtr keysym, return; } - // This code snippet makes lyx ignore modifier keys. if (keysym->isModifier()) { return; } @@ -257,12 +256,6 @@ void LyXFunc::processKeySym(LyXKeySymPtr keysym, // Note how the meta_fake Mod1 bit is OR-ed in and reset afterwards. // Mostly, meta_fake_bit = key_modifier::none. RVDK_PATCH_5. if ((action != LFUN_CANCEL) && (action != LFUN_META_FAKE)) { -#if 0 - if (lyxerr.debugging(Debug::KEY)) { - lyxerr << "meta_fake_bit is [" - << meta_fake_bit << "]" << endl; - } -#endif // remove Caps Lock and Mod2 as a modifiers action = keyseq.addkey(keysym, (state | meta_fake_bit)); if (lyxerr.debugging(Debug::KEY)) { @@ -320,9 +313,9 @@ void LyXFunc::processKeySym(LyXKeySymPtr keysym, dispatch(LFUN_SELFINSERT, argument); lyxerr[Debug::KEY] << "SelfInsert arg[`" << argument << "']" << endl; - } - else + } else { verboseDispatch(action, false); + } }