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
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());
	}
	
	public void testOverlap5() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 3, "012"));
		fEditor.add(SimpleTextEdit.createInsert(1, "xx"));
		assertFalse(fEditor.canPerformEdits());
	}
	
	public void testOverlap6() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 3, "012"));
		fEditor.add(SimpleTextEdit.createInsert(2, "xx"));
		assertFalse(fEditor.canPerformEdits());
	}
	
	public void testOverlap7() throws Exception {
		MoveSourceEdit source= new MoveSourceEdit(2, 5);
		MoveTargetEdit target= new MoveTargetEdit(3, source);
		fEditor.add(source);
		fEditor.add(target);
		assertFalse(fEditor.canPerformEdits());