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