### 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.
code_editor->set_executing_line(p_line);
}
void ScriptTextEditor::clear_executing_line() {
	code_editor->clear_executing_line();
}
void ScriptTextEditor::ensure_focus() {
	code_editor->get_text_editor()->grab_focus();
}
String ScriptTextEditor::get_name() {
	String name;
	name = script->get_path().get_file();
	if (name.is_empty()) {
		
		name = TTR("[unsaved]");
	} else if (script->is_built_in()) {
		const String &script_name = script->get_name();
		if (!script_name.is_empty()) {
			
			
			name = vformat("%s (%s)", script_name, name.get_slice("::", 0));
		}
	}
	if (is_unsaved()) {
		name += "(*)";
	}
	return name;
}
Ref<Texture2D> ScriptTextEditor::get_theme_icon() {