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
assertEquals(e1.getTextRange(), 0, 3);
		assertEquals(e2.getTextRange(), 3, 2);
		assertEquals(e3.getTextRange(), 5, 1);
		assertEquals("Buffer content", "011xx2456789", fBuffer.getContent());
		doUndoRedo(undo, "011xx2456789");
	}
	
	public void testInsert4() throws Exception {
		SimpleTextEdit e1= SimpleTextEdit.createInsert(0, "xx");
		fEditor.add(e1);
		assertTrue(fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals("Buffer length", 12, fBuffer.getLength());
		assertEquals(e1.getTextRange(), 0, 2);
		assertEquals("Buffer content", "xx0123456789", fBuffer.getContent());
		doUndoRedo(undo, "xx0123456789");
	}
	
	public void testInsert5() throws Exception {
		SimpleTextEdit e1= SimpleTextEdit.createInsert(10, "xx");
		fEditor.add(e1);
		assertTrue(fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals("Buffer length", 12, fBuffer.getLength());
		assertEquals(e1.getTextRange(), 10, 2);
		assertEquals("Buffer content", "0123456789xx", fBuffer.getContent());
		doUndoRedo(undo, "0123456789xx");
	}
	
	public void testInsertReplace1() throws Exception {