void vkEnd(KeyEvent e) {
			if (DockingUtils.isControlModifier(e)) {
				doEndOfFile(EventTrigger.GUI_ACTION);
			}
			else {
				cursorHandler.doCursorEnd(EventTrigger.GUI_ACTION);
			}
			selectionHandler.updateSelectionSequence(cursorPosition);
		}
Checks if the "control" modifier is on and the "shift" modifier is not.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java