### 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.
if (p_line.get_type() == Variant::INT) {
		code_editor->get_text_editor()->remove_secondary_carets();
		code_editor->get_text_editor()->set_caret_line(p_line.operator int64_t());
	}
}
void ScriptTextEditor::reload_text() {
	ERR_FAIL_COND(script.is_null());
	CodeEdit *te = code_editor->get_text_editor();
	int column = te->get_caret_column();
	int row = te->get_caret_line();
	int h = te->get_h_scroll();
	int v = te->get_v_scroll();
	te->set_text(script->get_source_code());
	te->set_caret_line(row);
	te->set_caret_column(column);
	te->set_h_scroll(h);
	te->set_v_scroll(v);
	te->tag_saved_version();
	code_editor->update_line_and_column();
	_validate_script();
}
void ScriptTextEditor::add_callback(const String &p_function, PackedStringArray p_args) {