@Override
 protected int getOffset(String document) {
   return targetNode.getWrappedNode().getPosition().getStartOffset();
 }
 @Override
 protected int getOffsetLength() {
   ISourcePosition replacePos = targetNode.getWrappedNode().getPosition();
   return replacePos.getEndOffset() - replacePos.getStartOffset();
 }