Ejemplo n.º 1
0
 protected void Create(params string[] lines)
 {
     _vimBuffer = CreateVimBuffer(lines);
     _textBuffer = _vimBuffer.TextBuffer;
     _vimKeyProcessor = new VimKeyProcessor(_vimBuffer, KeyUtil);
     _simulation = new KeyboardInputSimulation((IWpfTextView)_vimBuffer.TextView);
     _simulation.KeyProcessors.Add(_vimKeyProcessor);
 }
Ejemplo n.º 2
0
 protected void Create(params string[] lines)
 {
     _vimBuffer       = CreateVimBuffer(lines);
     _textBuffer      = _vimBuffer.TextBuffer;
     _vimKeyProcessor = new VimKeyProcessor(_vimBuffer, KeyUtil);
     _simulation      = new KeyboardInputSimulation((IWpfTextView)_vimBuffer.TextView);
     _simulation.KeyProcessors.Add(_vimKeyProcessor);
 }