String string = xTextCursor.getString();
assure("gotoEndOfWord(): wrong string: " + string,
"Two".equals(string));
}
xTextCursor.gotoEnd(false);
bSuccess = xWordCursor.gotoStartOfWord(true);
assure("gotoStartOfWord(): failed", bSuccess);
{
String string = xTextCursor.getString();
assure("gotoStartOfWord(): wrong string: " + string,
"words".equals(string));