void setEditMode(boolean editMode) {
		consumeKeyStrokes = editMode;
		if (!model.isEditable()) {
			return;
		}
		this.editMode = editMode;
		updateColor();
	}
Set the edit mode according to the given param if the model for this view supports editing.

@param editMode true means to enable editing, and change the cursor color.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java