protected void Create(params string[] lines) { _vimBuffer = CreateVimBuffer(lines); _textBuffer = _vimBuffer.TextBuffer; _vimKeyProcessor = new VimKeyProcessor(_vimBuffer, KeyUtil); _simulation = new KeyProcessorSimulation((IWpfTextView)_vimBuffer.TextView); _simulation.KeyProcessors.Add(_vimKeyProcessor); }