internal PasteController(IVimBuffer vimBuffer, IWpfTextView wpfTextView, IProtectedOperations protectedOperations, IEditorFormatMap editorFormatMap) { _vimBuffer = vimBuffer; _pasteAdornment = new PasteAdornment( wpfTextView, wpfTextView.GetAdornmentLayer(PasteFactoryService.PasteAdornmentLayerName), protectedOperations, editorFormatMap); _vimBuffer.KeyInputProcessed += OnKeyInputProcessed; _vimBuffer.Closed += OnVimBufferClosed; }