@Override
	protected boolean isEnabledForDecompilerContext(DecompilerActionContext context) {
		if (!context.hasRealFunction()) {
			return false;
		}
		DecompilerPanel panel = context.getDecompilerPanel();
		TokenHighlights highlights = panel.getMiddleMouseHighlights();
		if (highlights != null) {
			return highlights.size() > 1;
		}
		return false;
	}
An action to navigate to the previous token highlighted by the user via the middle-mouse.
Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/PreviousHighlightedTokenAction.java