### 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.
start_action(EditAction::ACTION_TYPING);
	Vector<int> caret_edit_order = get_caret_index_edit_order();
	for (const int &i : caret_edit_order) {
		if (p_caret != -1 && p_caret != i) {
			continue;
		}
		bool had_selection = has_selection(i);
		String selection_text = (had_selection ? get_selected_text(i) : "");
		if (had_selection) {
			delete_selection(i);
		}
		
		if (is_overtype_mode_enabled() && !had_selection) {
			
			if (get_caret_column(i) < get_line(get_caret_line(i)).length()) {
				remove_text(get_caret_line(i), get_caret_column(i), get_caret_line(i), get_caret_column(i) + 1);
			}
		}
		const char32_t chr[2] = { (char32_t)p_unicode, 0 };
		if (auto_brace_completion_enabled) {
			int cl = get_caret_line(i);
			int cc = get_caret_column(i);
			if (had_selection) {
				insert_text_at_caret(chr, i);
				String close_key = get_auto_brace_completion_close_key(chr);
				if (!close_key.is_empty()) {