### Godot version

4.0 beta 10

### System information

Windows 11

### Issue description

On the text editor when using autocomplete on function arguments that receive Input Map names after autocompleting the function name, the string autocompleted appears with an extra " at the end.
This doesnt happen if you write " and then accept the Input name in the dropdown

### Steps to reproduce

- On the script editor
- Start writing `Input.get_vector` but when the dropdown appears with the autocomplete suggestion for `Input.get_vector` press enter to accept it, then press enter again to accept the Input map suggestion
- The autocompleted input name should have an extra "

### Minimal reproduction project

N/A
}
	
	
	bool single_quote = in_string != -1 && first_quote_col > 0 && delimiters[in_string].start_key == "'";
	code_completion_options.clear();
	code_completion_base = string_to_complete;
	Vector<ScriptLanguage::CodeCompletionOption> completion_options_casei;
	Vector<ScriptLanguage::CodeCompletionOption> completion_options_substr;
	Vector<ScriptLanguage::CodeCompletionOption> completion_options_substr_casei;
	Vector<ScriptLanguage::CodeCompletionOption> completion_options_subseq;
	Vector<ScriptLanguage::CodeCompletionOption> completion_options_subseq_casei;
	int max_width = 0;
	String string_to_complete_lower = string_to_complete.to_lower();
	for (ScriptLanguage::CodeCompletionOption &option : code_completion_option_sources) {
		if (single_quote && option.display.is_quoted()) {
			option.display = option.display.unquote().quote("'");
		}
		int offset = 0;
		if (option.default_value.get_type() == Variant::COLOR) {
			offset = line_height;
		}
		if (in_string != -1) {
			String quote = single_quote ? "'" : "\"";
			option.display = option.display.unquote().quote(quote);
			option.insert_text = option.insert_text.unquote().quote(quote);
		}
		if (option.display.length() == 0) {
			continue;
		}
		if (string_to_complete.length() == 0) {