### Godot version

4.2 rc2

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description


https://github.com/godotengine/godot/assets/2223172/2c1829fa-1dd7-4f5b-b04a-f557ace35b5e

You can either see autocompletion or argument list. It's especially annoying when using e.g. `Input.get_vector()` method which has multiple arguments difficult to remember.

### Steps to reproduce

1. Write `Input.get_vector(`
2. Remove `(`
3. Add `(`

### Minimal reproduction project

N/A
Ref<InputEventMouseButton> mb = p_gui_input;
	if (mb.is_valid()) {
		
		if (has_ime_text()) {
			return;
		}
		if (is_code_completion_scroll_pressed && mb->get_button_index() == MouseButton::LEFT) {
			is_code_completion_scroll_pressed = false;
			accept_event();
			queue_redraw();
			return;
		}
		if (is_code_completion_drag_started && !mb->is_pressed()) {
			is_code_completion_drag_started = false;
			accept_event();
			queue_redraw();
			return;
		}
		if (code_completion_active && code_completion_rect.has_point(mb->get_position())) {
			if (!mb->is_pressed()) {
				accept_event();
				return;
			}
			is_code_completion_drag_started = true;
			switch (mb->get_button_index()) {
				case MouseButton::WHEEL_UP: {
					if (code_completion_current_selected > 0) {
						code_completion_current_selected--;