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
return result;
	}
	
	protected void setUp() throws Exception {
		fBuffer= TextBuffer.create("0123456789");
		fEditor= new TextBufferEditor(fBuffer);
	}
	
	protected void tearDown() throws Exception {
		fEditor= null;
	}
	
	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"));