private int GetKey(SciKey key, SciModifier mod) { return((Int32)key | ((Int32)mod << 16)); }
public void ClearKey(SciKey key, SciModifier mod) { Ref.Send(Sci.SCI_CLEARCMDKEY, GetKey(key, mod)); }
public void AssignKey(SciKey key, SciModifier mod, SciCommand cmd) { Ref.Send(Sci.SCI_ASSIGNCMDKEY, GetKey(key, mod), (Int32)cmd); }
private int GetKey(SciKey key, SciModifier mod) { return (Int32)key | ((Int32)mod << 16); }