@Override
	public void endEdit(boolean commit) {
		if (!commit) {
			// Set text to what it was before the edit began.
			textProperty.set(cachedTextProperty.get());
		} else {
			preProcessCommit();

			// Commit the change.
			ops.currentAccess().setByte(offset(), toByteValue());

			// Refresh the display (so the hex column gets updated)
			ops.refreshDisplay(offset(), false);
		}
		setCenter(label);
	}
@return Property of the offset into the data this cell represents.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/hex/cell/HexCellBase.java