after four edits:
  text: "Hello, team. Thanks, team"
refused: cannot erase 1 at 40
after replace all:
  text: "Hello, crew. Thanks, crew"
history:
  insert "Helo world" at 0
  insert "l" at 3
  erase " world" at 5
  insert ", team. Thanks, team" at 5
  replace "team" with "crew" (2)
undo twice:
  text: "Hello, team. Thanks, team"
  text: "Hello"
undid 3 more; nothing left to undo
  text: ""
function form: "Hello", after undo: "Hello world"
snapshot history holds 2004950 characters of text
command history holds 100 edits of 1 character each
same text: yes
