public KeyProcessor GetAssociatedProcessor(IWpfTextView wpfTextView)
        {
            var easyMotionUtil      = _easyMotionUtilProvider.GetEasyMotionUtil(wpfTextView);
            var easyMotionNavigator = _easyMotionNavigatorProvider.GetEasyMotionNavigator(wpfTextView);

            return(new EasyMotionKeyProcessor(easyMotionUtil, easyMotionNavigator));
        }
Exemple #2
0
        public IWpfTextViewMargin CreateMargin(IWpfTextViewHost wpfTextViewHost, IWpfTextViewMargin marginContainer)
        {
            var easyMotionUtil      = _easyMotionUtilProvider.GetEasyMotionUtil(wpfTextViewHost.TextView);
            var easyMotionNavigator = _easyMotionNavigatorProvider.GetEasyMotionNavigator(wpfTextViewHost.TextView);

            return(new EasyMotionMarginController(easyMotionUtil, easyMotionNavigator));
        }