public void PutAfterWithIndent_VisualLine() { Create(" dog", " cat", "bear"); EnterMode(ModeKind.VisualLine, _textView.GetLineRange(0).ExtentIncludingLineBreak); UnnamedRegister.UpdateValue("bear", OperationKind.LineWise); _buffer.Process("]p"); Assert.AreEqual(" dog", _textView.GetLine(0).GetText()); Assert.AreEqual(" bear", _textView.GetLine(1).GetText()); Assert.AreEqual(_textView.GetPointInLine(1, 2), _textView.GetCaretPoint()); Assert.AreEqual(_textView.GetLineRange(0, 1).ExtentIncludingLineBreak, _textView.GetSelectionSpan()); Assert.AreEqual(ModeKind.VisualLine, _buffer.ModeKind); }