How to enable/disable keyboard shortcuts for the SyntaxEdit control?
While the SyntaxEdit closely mimics the keymapping common to
the most of
Microsoft's products, it is completely customizable: you can add or
change behavior of certain
keys or even define an entirely different keymapping.
To assign an action to some key combination or to remove some key
handler you can use the following code:
private void syntaxEdit1_Action()
{
// key hander here
}
syntaxEdit1.KeyList.Add(Keys.W | Keys.Control | Keys.Alt, new
KeyEvent(syntaxEdit1_Action));
syntaxEdit1.KeyList.Remove(Keys.A | Keys.Control);

Comment