code: func (v *View) ViewBuffer() string {
  	str := ""
  	for _, l := range v.viewLines {
  		str += lineType(l.line).String() + "\n"
  	}
  	return strings.Replace(str, "\x00", " ", -1)
  }
docs: // ViewBuffer returns a string with the contents of the view's buffer that is
  // shown to the user.