From 98de8c5cd862bc68686b7ca680d922a96f30bfd0 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 27 Feb 2002 21:05:20 +0000 Subject: [PATCH] Added ivar to control whether to insert literally Control keystrokes or not git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12850 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/gui/NSInputManager.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Headers/gnustep/gui/NSInputManager.h b/Headers/gnustep/gui/NSInputManager.h index 41d7be0ea..22b16c47f 100644 --- a/Headers/gnustep/gui/NSInputManager.h +++ b/Headers/gnustep/gui/NSInputManager.h @@ -124,6 +124,12 @@ reset ourselves immediately into vanilla root input state. */ unichar _abortCharacter; int _abortFlags; + + /* When it is YES, keystrokes containing the NSControlKeyMask as not + inserted into the text. This is so that if you press Control-x, + and that is bound to nothing, it doesn't get inserted as a strange + character into your text. */ + BOOL _insertControlKeystrokes; } + (NSInputManager *) currentInputManager;