UndoableEdit ue = content.insertString(2, "^^^");
assertNotNull(ue);
content.getChars(0, content.length(), text);
assertEquals(20, text.array.length);
assertEquals("01^^^2345\n", content.getString(0, content.length()));
ue.undo();
assertEquals("012345\n", content.getString(0, content.length()));
ue.redo();
assertEquals("01^^^2345\n", content.getString(0, content.length()));
}