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

            return controller;
        }
Ejemplo n.º 2
0
        public static ReplCommandController Attach(ITextView textView, ITextBuffer textBuffer)
        {
            ReplCommandController controller = FromTextView(textView);

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

            return(controller);
        }