### Godot version

4.0 dev_build

### System information

Ubuntu 22.04.1

### Issue description

The "Lookup Symbol" button don't appears for custorm class names.
Related issues: #68475,  #73167.
I tried apply #68311, #69473 and #73196. It don't helps.
The `Ctrl+LMB` works right for all cases.

### Steps to reproduce

Right click to the `CustomClassA` symbol in the `custom_class_b.gd` anywhere. The `Lookup Symbol` button don't appears in the context menu.

### Minimal reproduction project

Example from  #68475.
String target_lower = option.display.to_lower();
		const char32_t *string_to_complete_char_lower = &string_to_complete_lower[0];
		const char32_t *target_char_lower = &target_lower[0];
		Vector<Vector<Pair<int, int>>> all_possible_subsequence_matches;
		for (int i = 0; *target_char_lower; i++, target_char_lower++) {
			if (*target_char_lower == *string_to_complete_char_lower) {
				all_possible_subsequence_matches.push_back({ { i, 1 } });
			}
		}
		string_to_complete_char_lower++;
		for (int i = 1; *string_to_complete_char_lower && (all_possible_subsequence_matches.size() > 0); i++, string_to_complete_char_lower++) {
			
			Vector<int> all_ocurence;
			for (int j = i; j < target_lower.length(); j++) {
				if (target_lower[j] == *string_to_complete_char_lower) {
					all_ocurence.push_back(j);
				}
			}
			Vector<Vector<Pair<int, int>>> next_subsequence_matches;
			for (Vector<Pair<int, int>> &subsequence_matches : all_possible_subsequence_matches) {
				Pair<int, int> match_last_segment = subsequence_matches[subsequence_matches.size() - 1];
				int next_index = match_last_segment.first + match_last_segment.second;
				
				
				if (target_lower[next_index] == *string_to_complete_char_lower) {
					Vector<Pair<int, int>> new_matches = subsequence_matches;
					new_matches.write[new_matches.size() - 1].second++;
					next_subsequence_matches.push_back(new_matches);
				}
				for (int index : all_ocurence) {