Bug 39324 TextEdits: Moved positions removed
20030625 See TextBufferTest.testMoveWithRangeMarker2 The RangeMarker is inside the MoveSource, and the MoveSource inside a delete: The resulting range of the Range Marker is deleted, not moved (TextBufferTest.testMoveWithRangeMarker shows that is works if there is no surrounding delete)
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TextBufferTest.java
SimpleTextEdit e2= SimpleTextEdit.createDelete(6, 2);
		e2.add(t1);
		fEditor.add(s1);
		fEditor.add(e2);
		assertTrue(fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals("Buffer content", "01589", fBuffer.getContent());
		assertEquals(s1.getTextRange(), 2, 0);
		assertTrue(t1.getTextRange().isDeleted());
		assertEquals(e2.getTextRange(), 3, 0);
		doUndoRedo(undo, "01589");
	}
	
	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 testMoveWithSourceDelete2() throws Exception {