Example #1
0
 private int GetKey(SciKey key, SciModifier mod)
 {
     return((Int32)key | ((Int32)mod << 16));
 }
Example #2
0
 public void ClearKey(SciKey key, SciModifier mod)
 {
     Ref.Send(Sci.SCI_CLEARCMDKEY, GetKey(key, mod));
 }
Example #3
0
 public void AssignKey(SciKey key, SciModifier mod, SciCommand cmd)
 {
     Ref.Send(Sci.SCI_ASSIGNCMDKEY, GetKey(key, mod), (Int32)cmd);
 }
Example #4
0
 private int GetKey(SciKey key, SciModifier mod)
 {
     return (Int32)key | ((Int32)mod << 16);
 }
Example #5
0
 public void ClearKey(SciKey key, SciModifier mod)
 {
     Ref.Send(Sci.SCI_CLEARCMDKEY, GetKey(key, mod));
 }
Example #6
0
 public void AssignKey(SciKey key, SciModifier mod, SciCommand cmd)
 {
     Ref.Send(Sci.SCI_ASSIGNCMDKEY, GetKey(key, mod), (Int32)cmd);
 }