Main interactive window command controller
Inheritance: Microsoft.Languages.Editor.Controller.ViewController
コード例 #1
0
        public static ReplCommandController Attach(ITextView textView, ITextBuffer textBuffer) {
            ReplCommandController controller = FromTextView(textView);
            if (controller == null) {
                controller = new ReplCommandController(textView, textBuffer);
            }

            return controller;
        }
コード例 #2
0
        public static ReplCommandController Attach(ITextView textView, ITextBuffer textBuffer)
        {
            ReplCommandController controller = FromTextView(textView);

            if (controller == null)
            {
                controller = new ReplCommandController(textView, textBuffer);
            }

            return(controller);
        }