}
IMovementMediator moveMediator = new InlineEditingNavigationMediator(
new ActionData(ActionData.KEYBOARD_NAVAGATION, null));
DesignPosition position = range.getEndPosition();
Caret caret = _viewer.getCaret();
Point point = null;
DesignPosition newPos = position;
EditPart containerpart = null, rootpart1;
if (_up) {
point = new Point(((CaretPositionTracker) _viewer).getXoffset(),
caret.getBounds().y);
} else {
point = new Point(((CaretPositionTracker) _viewer).getXoffset(),
caret.getBounds().y + caret.getBounds().height);
}
rootpart1 = getRootEditablePart(position.getContainerPart(),
moveMediator);// position.getContainerPart();