C# Class VSEmbed.Roslyn.RoslynKeyProcessor

Inheritance: VSEmbed.Editor.ChainedKeyProcessor
Exibir arquivo Open project: SLaks/VSEmbed

Public Methods

Method Description
KeyDown ( System.Windows.Input.KeyEventArgs args, ITextBuffer targetBuffer, System.Action next ) : void
RoslynKeyProcessor ( IWpfTextView wpfTextView, IComponentModel mef ) : System
TextInput ( System.Windows.Input.TextCompositionEventArgs args, ITextBuffer targetBuffer, System.Action next ) : void

Protected Methods

Method Description
AddAltShiftCommand ( Key key, string methodName ) : void
AddCommand ( Key key, string methodName ) : void
AddCommand ( ModifierKeys modifiers, Key key, string methodName ) : void
AddControlCommand ( Key key, string methodName ) : void
AddControlShiftCommand ( Key key, string methodName ) : void
AddIntCommand ( ModifierKeys modifiers, Key key, string methodName, int count ) : void
AddShiftCommand ( Key key, string methodName ) : void

Private Methods

Method Description
AddShortcuts ( ) : void
CreateInstanceNonPublic ( Type type ) : object

Method Details

AddAltShiftCommand() protected method

protected AddAltShiftCommand ( Key key, string methodName ) : void
key Key
methodName string
return void

AddCommand() protected method

protected AddCommand ( Key key, string methodName ) : void
key Key
methodName string
return void

AddCommand() protected method

protected AddCommand ( ModifierKeys modifiers, Key key, string methodName ) : void
modifiers ModifierKeys
key Key
methodName string
return void

AddControlCommand() protected method

protected AddControlCommand ( Key key, string methodName ) : void
key Key
methodName string
return void

AddControlShiftCommand() protected method

protected AddControlShiftCommand ( Key key, string methodName ) : void
key Key
methodName string
return void

AddIntCommand() protected method

protected AddIntCommand ( ModifierKeys modifiers, Key key, string methodName, int count ) : void
modifiers ModifierKeys
key Key
methodName string
count int
return void

AddShiftCommand() protected method

protected AddShiftCommand ( Key key, string methodName ) : void
key Key
methodName string
return void

KeyDown() public method

public KeyDown ( System.Windows.Input.KeyEventArgs args, ITextBuffer targetBuffer, System.Action next ) : void
args System.Windows.Input.KeyEventArgs
targetBuffer ITextBuffer
next System.Action
return void

RoslynKeyProcessor() public method

public RoslynKeyProcessor ( IWpfTextView wpfTextView, IComponentModel mef ) : System
wpfTextView IWpfTextView
mef IComponentModel
return System

TextInput() public method

public TextInput ( System.Windows.Input.TextCompositionEventArgs args, ITextBuffer targetBuffer, System.Action next ) : void
args System.Windows.Input.TextCompositionEventArgs
targetBuffer ITextBuffer
next System.Action
return void