public void RemoveBuffer2() { var view = EditorUtil.CreateView("foo bar"); var vimBuffer = _vim.CreateBuffer(view); Assert.IsTrue(_vim.RemoveBuffer(view)); Assert.IsTrue(_vim.GetBuffer(view).IsNone()); }
public void Create_SimpleTextView() { var textView = EditorUtil.CreateView(); var ret = _vim.CreateBuffer(textView); Assert.IsNotNull(ret); Assert.AreSame(textView, ret.TextView); }