Ejemplo n.º 1
0
        public void VimBufferCreated(IVimBuffer buffer)
        {
            var textView = buffer.TextView as IWpfTextView;
            if (textView == null)
            {
                return;
            }

            // Setup the block caret
            var caret = _blockCaretFactoryService.CreateBlockCaret(textView);
            var caretController = new BlockCaretController(buffer, caret);
        }
Ejemplo n.º 2
0
        public void VimBufferCreated(IVimBuffer buffer)
        {
            var textView = buffer.TextView as IWpfTextView;
            if (textView == null)
            {
                return;
            }

            // Setup the block caret
            var caret = _blockCaretFactoryService.CreateBlockCaret(textView);
            var caretController = new BlockCaretController(buffer, caret);

            buffer.WindowSettings.SettingChanged += (_, args) => OnSettingChanged(buffer, args);
        }
Ejemplo n.º 3
0
        public void VimBufferCreated(IVimBuffer buffer)
        {
            var textView = buffer.TextView as IWpfTextView;

            if (textView == null)
            {
                return;
            }

            // Setup the block caret
            var caret           = _blockCaretFactoryService.CreateBlockCaret(textView);
            var caretController = new BlockCaretController(buffer, caret);

            buffer.WindowSettings.SettingChanged += (_, args) => OnSettingChanged(buffer, args);
        }