@Override
  public Position destination(EditorAdaptor editorAdaptor, int count)
      throws CommandExecutionException {
    int originalOffset = editorAdaptor.getPosition().getModelOffset();
    Position delegatePosition = delegate.destination(editorAdaptor, count);

    // differ from the delegate in that we trim the last newline where appropriate
    int newOffset =
        offsetWithoutLastNewline(
            originalOffset, delegatePosition.getModelOffset(), editorAdaptor.getModelContent());

    return editorAdaptor.getCursorService().newPositionForModelOffset(newOffset);
  }
 public boolean isJump() {
   return delegate.isJump();
 }
 public BorderPolicy borderPolicy() {
   return delegate.borderPolicy();
 }
 public boolean updateStickyColumn() {
   return delegate.updateStickyColumn();
 }
 public int getCount() {
   return delegate.getCount();
 }