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

            return controller;
        }
        public static ReplCommandController Attach(ITextView textView, ITextBuffer textBuffer)
        {
            ReplCommandController controller = FromTextView(textView);

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

            return(controller);
        }