コード例 #1
0
 public void SetUp()
 {
     _textView          = EditorUtil.CreateView();
     _localSettings     = new LocalSettings(new GlobalSettings(), _textView);
     _incrementalSearch = VimUtil.CreateIncrementalSearch(_textView, _localSettings, new VimData());
     _factory           = new MockRepository(MockBehavior.Strict);
     _host       = _factory.Create <IVimHost>();
     _captureRaw = new MotionCapture(
         _host.Object,
         _textView,
         _incrementalSearch,
         _localSettings);
     _capture = _captureRaw;
 }