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
fEditor.add(t1);
		assertTrue(fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals(s1.getTextRange(), 3, 0);
		assertEquals(t1.getTextRange(), 2, 1);
		assertEquals(e2.getTextRange(), 2, 1);
		assertEquals("Buffer content", "01x3456789", fBuffer.getContent());
		doUndoRedo(undo,"01x3456789");
	}
	
	public void testMove7() throws Exception {
		MoveSourceEdit s1= new MoveSourceEdit(2, 3);
		MoveTargetEdit t1= new MoveTargetEdit(7, s1);
		SimpleTextEdit e2= SimpleTextEdit.createReplace(3, 1, "x");
		s1.add(e2);
		fEditor.add(s1);
		fEditor.add(t1);
		assertTrue(fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals("Buffer content", "01562x4789", fBuffer.getContent());
		assertEquals(s1.getTextRange(), 2, 0);
		assertEquals(t1.getTextRange(), 4, 3);
		assertEquals(e2.getTextRange(), 5, 1);
		doUndoRedo(undo, "01562x4789");
	}
	
	public void testMove8() throws Exception {
		MoveSourceEdit s1= new MoveSourceEdit(5, 3);
		MoveTargetEdit t1= new MoveTargetEdit(1, s1);
		SimpleTextEdit e2= SimpleTextEdit.createReplace(6, 1, "x");