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 testOverlap1() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 2, "01"));
		fEditor.add(SimpleTextEdit.createReplace(1, 2, "12"));
		assertFalse(fEditor.canPerformEdits());
	}	
	
	public void testOverlap2() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 2, "01"));
		fEditor.add(SimpleTextEdit.createReplace(0, 1, "0"));
		assertFalse(fEditor.canPerformEdits());
	}	
	
	public void testOverlap3() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 2, "01"));
		fEditor.add(SimpleTextEdit.createReplace(1, 1, "1"));
		assertFalse(fEditor.canPerformEdits());
	}	
	
	public void testOverlap4() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 3, "012"));
		fEditor.add(SimpleTextEdit.createReplace(1, 1, "1"));
		assertFalse(fEditor.canPerformEdits());
	}