Bug 22467 TextEdits: replace != delete + insert
see TextBufferTest.testReplaceAndInsert1
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TextBufferTest.java
assert(e1.getSourceRange(), 2, 1);
		assert(e1.getTargetRange(), 3, 0);
		assert(e2.getTextRange(), 2, 1);
	}
	
	public void testMove7() throws Exception {
		MoveTextEdit e1= new MoveTextEdit(2, 3, 7);
		SimpleTextEdit e2= SimpleTextEdit.createReplace(3, 1, "x");
		fEditor.add(e1);
		fEditor.add(e2);
		assertTrue(fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals("Buffer content", "01562x4789", fBuffer.getContent());
		assert(e1.getTargetRange(), 4, 3);
		assert(e1.getSourceRange(), 2, 0);
		assert(e2.getTextRange(), 5, 1);
		doUndo(undo);
		assert(e1.getSourceRange(), 2, 3);
		assert(e1.getTargetRange(), 7, 0);
		assert(e2.getTextRange(), 3, 1);
	}
	
	public void testMove8() throws Exception {
		MoveTextEdit e1= new MoveTextEdit(5, 3, 1);
		SimpleTextEdit e2= SimpleTextEdit.createReplace(6, 1, "x");
		fEditor.add(e2);
		fEditor.add(e1);
		assertTrue(fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals("Buffer content", "05x7123489", fBuffer.getContent());