### 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)

TextEdit::_update_theme_item_cache();
	
	theme_cache.code_folding_color = get_theme_color(SNAME("code_folding_color"));
	theme_cache.can_fold_icon = get_theme_icon(SNAME("can_fold"));
	theme_cache.folded_icon = get_theme_icon(SNAME("folded"));
	theme_cache.folded_eol_icon = get_theme_icon(SNAME("folded_eol_icon"));
	theme_cache.breakpoint_color = get_theme_color(SNAME("breakpoint_color"));
	theme_cache.breakpoint_icon = get_theme_icon(SNAME("breakpoint"));
	theme_cache.bookmark_color = get_theme_color(SNAME("bookmark_color"));
	theme_cache.bookmark_icon = get_theme_icon(SNAME("bookmark"));
	theme_cache.executing_line_color = get_theme_color(SNAME("executing_line_color"));
	theme_cache.executing_line_icon = get_theme_icon(SNAME("executing_line"));
	theme_cache.line_number_color = get_theme_color(SNAME("line_number_color"));
	
	theme_cache.code_completion_style = get_theme_stylebox(SNAME("completion"));
	theme_cache.code_completion_icon_separation = get_theme_constant(SNAME("h_separation"), SNAME("ItemList"));
	theme_cache.code_completion_max_width = get_theme_constant(SNAME("completion_max_width"));
	theme_cache.code_completion_max_lines = get_theme_constant(SNAME("completion_lines"));
	theme_cache.code_completion_scroll_width = get_theme_constant(SNAME("completion_scroll_width"));
	theme_cache.code_completion_scroll_color = get_theme_color(SNAME("completion_scroll_color"));