示例#1
0
 public GoToDefKeyProcessor(CtrlKeyState state)
 {
     _state = state;
 }
 public KeyProcessor GetAssociatedProcessor(IWpfTextView view)
 {
     return(view.Properties.GetOrCreateSingletonProperty(typeof(GoToDefKeyProcessor),
                                                         () => new GoToDefKeyProcessor(CtrlKeyState.GetStateForView(view))));
 }