x = XmlObject.Factory.parse( "<foo>abcdef</foo>" );
cFrom = navDoc( x, "2t2c" );
cTo = navNewCursor( cFrom, "-1c" );
cFrom.moveChars( 2, cTo );
cFrom.insertChars( "[FROM]" );
cTo.insertChars( "[TO]" );
Assert.assertTrue(
x.xmlText().equals( "<foo>acd[TO]b[FROM]ef</foo>" ) );