메소드 | 설명 | |
---|---|---|
KeyDown ( System.Windows.Input.KeyEventArgs args ) : void |
Convert this key processors's keyboard events into KeyInput and forward it to TryProcess
|
메소드 | 설명 | |
---|---|---|
FallbackKeyProcessor ( IVsShell vsShell, _DTE dte, IKeyUtil keyUtil, IVimApplicationSettings vimApplicationSettings, ITextView textView, IVimBuffer vimBuffer, Vim.VisualStudio.Implementation.Misc.ScopeData scopeData ) : System |
In general a key processor applies to a specific IWpfTextView but by not making use of it, the fallback processor can be reused for multiple text views
|
|
GetKeyBindings ( ) : void |
Get conflicting key bindings stored in our application settings
|
|
GetScopeOrder ( ScopeKind scope ) : int |
Get a sortable numeric value corresponding to a scope. Lower numbers cause the binding to be considered first
|
|
IsTextViewBinding ( CommandKeyBinding binding ) : bool |
True if the binding is applicable to a text view
|
|
OnSettingsChanged ( object sender, ApplicationSettingsEventArgs e ) : void | ||
OnTextViewClosed ( object sender, |
||
SafeExecuteCommand ( CommandId command ) : bool |
Safely execute a Visual Studio command
|
|
TryConvertLetterToKeyInput ( System.Windows.Input.KeyEventArgs keyEventArgs, KeyInput &keyInput ) : bool |
This maps letters which are pressed to a KeyInput value by looking at the virtual key vs the textual input. When Visual Studio is processing key mappings it's doing so in PreTraslateMessage and using the virtual key codes. We need to simulate this as best as possible when forwarding keys
|
|
TryProcess ( KeyInput keyInput ) : bool |
Try to process this KeyInput
|
public KeyDown ( System.Windows.Input.KeyEventArgs args ) : void | ||
args | System.Windows.Input.KeyEventArgs | |
리턴 | void |