#pragma warning restore 169 void IVimBufferCreationListener.VimBufferCreated(IVimBuffer vimBuffer) { var wpfTextView = vimBuffer.TextView as IWpfTextView; if (wpfTextView == null) { return; } var controller = new PasteController( vimBuffer, wpfTextView, _protectedOperations, _formatMapService.GetEditorFormatMap(wpfTextView)); }
#pragma warning restore 169 void IVimBufferCreationListener.VimBufferCreated(IVimBuffer vimBuffer) { var wpfTextView = vimBuffer.TextView as IWpfTextView; if (wpfTextView == null) { return; } var controller = new PasteController( vimBuffer, wpfTextView, _protectedOperations, _formatMapService.GetEditorFormatMap(wpfTextView)); }