void deleteComponentRange(int startRowIndex, int endRowIndex, TaskMonitor monitor)
			throws CancelledException {
		if (isEditingField()) {
			endFieldEditing();
		}

		final int entries = endRowIndex - startRowIndex + 1;
		Set<Integer> ordinals = new HashSet<>();

		monitor.initialize(entries);
		for (int rowIndex = endRowIndex; rowIndex >= startRowIndex; rowIndex--) {
			monitor.checkCancelled();
			int componentOrdinal = convertRowToOrdinal(rowIndex);
			ordinals.add(componentOrdinal);
			if (componentOrdinal < currentEditRow) {
				currentEditRow--;
			}
			selection.removeRange(componentOrdinal, componentOrdinal + 1);
			adjustSelection(componentOrdinal + 1, -1);
			monitor.incrementProgress(1);
		}
		viewDTM.withTransaction("Delete Components", () -> viewComposite.delete(ordinals));
		fixSelection();
		selectionChanged();
	}
Delete the named data types at the specified component indices.

@param startRowIndex index of the starting row for the components to delete.
@param endRowIndex index of the ending row (inclusive) for the components to delete.
@param monitor the task monitor
@throws CancelledException if the work was cancelled
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java