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
public void testMoveWithSourceDelete() throws Exception {
		MoveSourceEdit s1= new MoveSourceEdit(5, 2);
		MoveTargetEdit t1= new MoveTargetEdit(1, s1);
		SimpleTextEdit e2= SimpleTextEdit.createDelete(5, 2);
		e2.add(s1);
		fEditor.add(t1);
		fEditor.add(e2);
		assertTrue(fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals("Buffer content", "0561234789", fBuffer.getContent());
		assertTrue(s1.getTextRange().isDeleted());
		assertEquals(t1.getTextRange(), 1, 2);
		assertEquals(e2.getTextRange(), 7, 0);
		doUndoRedo(undo, "0561234789");
	}
	
	public void testMoveUpWithInnerMark() throws Exception {
		MoveSourceEdit s1= new MoveSourceEdit(7, 2);
		MoveTargetEdit t1= new MoveTargetEdit(2, s1);
		SimpleTextEdit m= SimpleTextEdit.createReplace(4, 1, "yy");
		fEditor.add(t1);
		fEditor.add(m);
		fEditor.add(s1);
		assertTrue(fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals("Buffer content", "017823yy569", fBuffer.getContent());
		assertEquals(s1.getTextRange(), 10, 0);
		assertEquals(t1.getTextRange(), 2, 2);
		assertEquals(m.getTextRange(), 6, 2);