public void Setup()
        {
            _repository = new MockRepository();
            _textStorage = _repository.StrictMock<IVIMTextStorage>();

            _cursor = Services.Locate<IVIMListCursor>(_textStorage)();
        }
Example #2
0
        public VIMTextCursor(IVIMTextStorage textStorage)
        {
            var color = Brushes.DarkCyan.Clone();
            color.Opacity = 0.5;
            Background = color;

            _textStorage = textStorage;

            base.Height = 23;
            base.Width = 13;

            _textDataPosition.Column = 0;
            UpdateMargin();
        }
Example #3
0
        public VIMListCursor(IVIMTextStorage textStorage)
        {
            var color = Brushes.DarkCyan.Clone();
            color.Opacity = 0.5;
            Background = color;

            _textStorage = textStorage;

            base.Height = 23;
        }