Bug 39227 Text edits: Failure in when delting move source
20030623 Added testMoveWithSourceDelete2. Difference to testMoveWithSourceDelete1 is that the taget position is greater than the source position
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TextBufferTest.java
innerRoot.add(t1);
		}
		MultiTextEdit root= new MultiTextEdit();
		{
			SimpleTextEdit e1= SimpleTextEdit.createReplace(0, 9, "");
			e1.add(innerRoot);
			CopyTargetEdit t1= new CopyTargetEdit(11, innerRoot);
			
			SimpleTextEdit e2= SimpleTextEdit.createReplace(11, 1, "");
			CopySourceEdit s2= new CopySourceEdit(11, 1);
			e2.add(s2);
			CopyTargetEdit t2= new CopyTargetEdit(0, s2);
			root.add(e1);
			root.add(t2);
			root.add(e2);				
			root.add(t1);
			
			editor.add(root);
		}
		assertTrue("Can perform edits", editor.canPerformEdits());
		editor.performEdits(null);
		String result= "3, foo(2, 1)";
		assertEquals("Buffer content", result, buffer.getContent());
	}	
	
	private void doUndoRedo(UndoMemento undo, String redoResult) throws Exception {
		fEditor.add(undo);
		UndoMemento redo= fEditor.performEdits(null);
		assertBufferContent();
		fEditor.add(redo);