mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-24 00:27:40 +00:00
Adds support for 'beep' in stores to KMW. Nothing for Developer yet.
This commit is contained in:
parent
2a924927e5
commit
e40a4eaacb
1 changed files with 10 additions and 1 deletions
|
|
@ -83,7 +83,13 @@ namespace com.keyman {
|
|||
['t']: 'n';
|
||||
}
|
||||
|
||||
type ContextNonCharEntry = RuleDeadkey | ContextAny | RuleIndex | ContextEx | ContextNul;
|
||||
class ContextBeep {
|
||||
/** Discriminant field - 'b' for `beep`
|
||||
*/
|
||||
['t']: 'b';
|
||||
}
|
||||
|
||||
type ContextNonCharEntry = RuleDeadkey | ContextAny | RuleIndex | ContextEx | ContextNul | ContextBeep ;
|
||||
type ContextEntry = RuleChar | ContextNonCharEntry;
|
||||
|
||||
/**
|
||||
|
|
@ -507,6 +513,9 @@ namespace com.keyman {
|
|||
mismatch = true;
|
||||
}
|
||||
break;
|
||||
case 'b':
|
||||
this.beep(Ptarg);
|
||||
break;
|
||||
default:
|
||||
assertNever(r);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue