code: func simpleEditor(v *View, key Key, ch rune, mod Modifier) {
  	switch {
  	case ch != 0 && mod == 0:
  		v.EditWrite(ch)
  	case key == KeySpace:
  		v.EditWrite(' ')
  	case key == KeyBackspace || key == KeyBackspace2:
  		v.EditDelete(true)
  	case key == KeyDelete:
  		v.EditDelete(false)
  	case key == KeyInsert:
  		v.Overwrite = !v.Overwrite
  	case key == KeyEnter:
  		v.EditNewLine()
  	case key == KeyArrowDown:
  		v.MoveCursor(0, 1, false)
  	case key == KeyArrowUp:
  		v.MoveCursor(0, -1, false)
  	case key == KeyArrowLeft:
  		v.MoveCursor(-1, 0, false)
  	case key == KeyArrowRight:
  		v.MoveCursor(1, 0, false)
  	}
  }
docs: // simpleEditor is used as the default gocui editor.