xTextCursor.gotoEnd(false);
bSuccess = xTextCursor.goLeft((short)1, false);
assure("goLeft(): failed", bSuccess);
bSuccess = xTextCursor.goLeft((short)1000, false);
assure("goLeft(): succeeded", !bSuccess);
bSuccess = xTextCursor.goRight((short)1, false);
assure("goRight(): failed", bSuccess);
bSuccess = xTextCursor.goRight((short)1000, false);
assure("goRight(): succeeded", !bSuccess);
xTextCursor.gotoRange(xStart, false);
xTextCursor.gotoRange(xEnd, false);