public void Initialize(ITextView view, IEditorOperations editorOperations, ITextBufferUndoManager undoManager) { Debug.Assert(view != null, "view must not be null"); Debug.Assert(editorOperations != null, "editor operations must not be null"); _view = view; _editorOperations = editorOperations; _undoManager = undoManager; _braceCompletionTarget = new BraceCompletionCommandTarget(view); }