Bug 22467 TextEdits: replace != delete + insert
see TextBufferTest.testReplaceAndInsert1
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TextBufferTest.java
assertTrue(!fEditor.canPerformEdits());
	}	
	
	public void testOverlap3() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 2, "01"));
		fEditor.add(SimpleTextEdit.createReplace(1, 1, "1"));
		assertTrue(!fEditor.canPerformEdits());
	}	
	
	public void testOverlap4() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 3, "012"));
		fEditor.add(SimpleTextEdit.createReplace(1, 1, "1"));
		assertTrue(!fEditor.canPerformEdits());
	}
	
	public void testOverlap5() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 3, "012"));
		fEditor.add(SimpleTextEdit.createInsert(1, "xx"));
		assertTrue(!fEditor.canPerformEdits());
	}
	
	public void testOverlap6() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 3, "012"));
		fEditor.add(SimpleTextEdit.createInsert(2, "xx"));
		assertTrue(!fEditor.canPerformEdits());
	}