public final void delete(FieldSelection selection) {
		if (selection == null || this.ranges.size() == 0 || selection.ranges.size() == 0) {
			return;
		}

		// process all ranges in the selection, delete each associated fields from this set
		for (FieldRange range : selection.ranges) {
			removeRange(range.start, range.end);
		}
	}
Delete all fields in the ranges in the given field selection from this one.
@param selection the field selection fields to remove from this field selection.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/FieldSelection.java