public void engage(int offset, boolean initiateEdit) {
		Consumer<HexCellBase> action = cell -> {
			boolean match = cell.offset() == offset;
			if (match) {
				if (initiateEdit && cell.isEditing()) {
					// Complete the current edit
					cell.endEdit(true);
				} else if (initiateEdit) {
					// Initiate a new edit
					cell.beginEdit();
				} else {
					// Cancel the current edit
					cell.endEdit(false);
				}
			} else {
				cell.onSelectionLost();
			}
		};
		Unchecked.checkedForEach(layout.getChildren(), child -> {
			boolean hexColumn = ops.navigation().isHexColumnSelected();
			if (hexColumn && child instanceof EditableHexCell cell) {
				action.accept(cell);
			} else if (!hexColumn && child instanceof EditableAsciiCell cell) {
				action.accept(cell);
			}
		}, (cell, error) -> {});
	}
Toggles editing in the cell at the given offset.

@param offset
		Target offset to toggle editing on.
@param initiateEdit
       {@code true} to trigger the target cell at the offset to begin editing or complete a current edit.
       {@code false} to cancel editing.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/hex/cell/HexRow.java