### Godot version

4.0.beta.16

### System information

N/A

### Issue description

```gdscript
func _run() -> void:
	click_this_function_doesnt_jump_to_its_line() # this works
	self.click_this_function_doesnt_jump_to_its_line() # add self breaks click-jump























































func click_this_function_doesnt_jump_to_its_line():
	pass
```

Ctrl + Click on self.click_this_function_doesnt_jump_to_its_line(), it won't jump to its definition.

### Steps to reproduce

N/A

### Minimal reproduction project

[godot.4.0.beta15.bugs.0.zip](https://github.com/godotengine/godot/files/10532051/godot.4.0.beta15.bugs.0.zip)

Dictionary d = p_data;
	CodeEdit *te = code_editor->get_text_editor();
	Point2i pos = te->get_line_column_at_pos(p_point);
	int row = pos.y;
	int col = pos.x;
	if (d.has("type") && String(d["type"]) == "resource") {
		te->remove_secondary_carets();
		Ref<Resource> res = d["resource"];
		if (!res.is_valid()) {
			return;
		}
		if (res->get_path().is_resource_file()) {
			EditorNode::get_singleton()->show_warning(TTR("Only resources from filesystem can be dropped."));
			return;
		}
		te->set_caret_line(row);
		te->set_caret_column(col);
		te->insert_text_at_caret(res->get_path());
		te->grab_focus();
	}
	if (d.has("type") && (String(d["type"]) == "files" || String(d["type"]) == "files_and_dirs")) {
		te->remove_secondary_carets();
		Array files = d["files"];
		String text_to_drop;
		bool preload = Input::get_singleton()->is_key_pressed(Key::CTRL);
		for (int i = 0; i < files.size(); i++) {