コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: BaseController.cs プロジェクト: xoriath/RTVS
        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);
        }