target.beginCompoundChange();
fHasOpenCompoundChange= false; }  if (!fHasOpenCompoundChange) { target.beginCompoundChange(); fHasOpenCompoundChange= true; }
		private boolean controlUndoBehavior(int offset, int length) {			LinkedPosition position= fEnvironment.findPosition(new LinkedPosition(fCurrentTarget.getViewer().getDocument(), offset, length, LinkedPositionGroup.NO_STOP));			if (position != null) {				ITextViewerExtension extension= (ITextViewerExtension) fCurrentTarget.getViewer();				IRewriteTarget target= extension.getRewriteTarget();				if (fPreviousPosition != null && !fPreviousPosition.equals(position))					target.endCompoundChange();				target.beginCompoundChange();			}			fPreviousPosition= position;			return fPreviousPosition != null;		}