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 testDelete1() throws Exception {
		SimpleTextEdit e1= SimpleTextEdit.createDelete(3, 1);
		fEditor.add(e1);
		assertTrue("Can perform edits", fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals(e1.getTextRange(), 3, 0);
		assertEquals("Buffer content", "012456789", fBuffer.getContent());
		doUndoRedo(undo, "012456789");
	}
	
	public void testDelete2() throws Exception {
		SimpleTextEdit e1= SimpleTextEdit.createDelete(4, 1);
		SimpleTextEdit e2= SimpleTextEdit.createDelete(3, 1);
		SimpleTextEdit e3= SimpleTextEdit.createDelete(5, 1);
		fEditor.add(e1);
		fEditor.add(e2);
		fEditor.add(e3);
		assertTrue("Can perform edits", fEditor.canPerformEdits());
		UndoMemento undo= fEditor.performEdits(null);
		assertEquals(e1.getTextRange(), 3, 0);
		assertEquals(e2.getTextRange(), 3, 0);
		assertEquals(e3.getTextRange(), 3, 0);
		assertEquals("Buffer content", "0126789", fBuffer.getContent());
		doUndoRedo(undo, "0126789");
	}
	
	public void testDelete3() throws Exception {
		SimpleTextEdit e1= SimpleTextEdit.createInsert(3, "x");