code: func (v *View) Buffer() string {
  	str := ""
  	for _, l := range v.lines {
  		str += lineType(l).String() + "\n"
  	}
  	return strings.Replace(str, "\x00", " ", -1)
  }
docs: // Buffer returns a string with the contents of the view's internal
  // buffer.