From 6fc5151e4fdd7b1f3bc232f5c0ce405aabae1ea4 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 8 Nov 2000 11:01:31 +0000 Subject: Changed keystroke handling so that GTK+ stops keys that are mapped to commands which allows them to propogate up to containers rather than requiring explicit propogation. --- src/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 1d0b47c56..3733aedc1 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -258,7 +258,7 @@ protected: // ScintillaBase subclass needs access to much of Editor virtual void CancelModes(); virtual int KeyCommand(unsigned int iMessage); virtual int KeyDefault(int /* key */, int /*modifiers*/); - int KeyDown(int key, bool shift, bool ctrl, bool alt); + int KeyDown(int key, bool shift, bool ctrl, bool alt, bool *consumed=0); int GetWhitespaceVisible(); void SetWhitespaceVisible(int view); -- cgit v1.2.3