private void adjustLocationForCaretPosition(Point location) {
		JTextField textField = searchInputField.getTextField();
		Caret caret = textField.getCaret();
		Point p = caret.getMagicCaretPosition();
		if (p != null) {
			location.x += p.x;
		}
	}
Internal panel of the memory search window that manages the controls for the search feature. This
panel can be added or removed via a toolbar action. This panel is showing by default.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/gui/MemorySearchControlPanel.java