public void Setup() { _repository = new MockRepository(); _textStorage = _repository.StrictMock<IVIMTextStorage>(); _cursor = Services.Locate<IVIMListCursor>(_textStorage)(); }
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(); }
public VIMListCursor(IVIMTextStorage textStorage) { var color = Brushes.DarkCyan.Clone(); color.Opacity = 0.5; Background = color; _textStorage = textStorage; base.Height = 23; }