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