private boolean isNamespace(ClangSyntaxToken token) {

		String text = token.getText();
		if (text.length() <= 1) {
			return false;
		}

		// see if we have a '::' token trailing this token
		ClangLine line = token.getLineParent();
		int index = line.indexOfToken(token);
		for (int i = index + 1; i < line.getNumTokens(); i++) {
			ClangToken nextToken = line.getToken(i);
			String nextText = nextToken.getText();
			if (nextText.isBlank()) {
				continue;
			}

			return nextText.equals("::");
		}
		return false;
	}
Removes all secondary highlights for the current function

@param function the function containing the secondary highlights
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerPanel.java