private void doDelete(int componentOrdinal) {
		viewDTM.withTransaction("Delete Component", () -> {
			viewComposite.delete(componentOrdinal);
		});
		if (componentOrdinal < currentEditRow) {
			currentEditRow--;
		}
	}
Deletes the ComponentDataType at the given index in this composite
and removes the deleted component from the selection if necessary.
<br> Note: this method does not fix the selection based on lock mode
and does not perform any edit notification.
@param componentOrdinal the ordinal of the component to be deleted.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java