### Godot version

4.0.2.stable

### System information

window10,forward+

### Issue description

![](https://i.postimg.cc/sXJvX6YG/4-7-2023-2-31-56-PM.jpg)

> extends "../DmUtils/tween_panel.gd"
> 
> """gd"""
> func _ready() -> void:
> ____"super"   # Suggestions willl extra quote added!

### Steps to reproduce

1. foo BASE.gd
2. another subclass extends it (extends "../folder/BASE.gd")
3. type subclass callback say: _ready(): TYPE super THEN "super" appeared

### Minimal reproduction project

none
)");
	
	code_edit->set_caret_line(0);
	code_edit->duplicate_lines();
	CHECK(code_edit->get_line(0) == "extends Node");
	CHECK(code_edit->get_line(1) == "extends Node");
	CHECK(code_edit->get_line(2) == "");
	
	code_edit->set_caret_line(6);
	code_edit->set_caret_column(15);
	code_edit->select(4, 8, 6, 15);
	code_edit->duplicate_lines();
	CHECK(code_edit->get_line(6) == "\tvar c := a + b");
	CHECK(code_edit->get_line(7) == "\tvar a := len(OS.get_cmdline_args())");
	CHECK(code_edit->get_line(8) == "\tvar b := get_child_count()");
	CHECK(code_edit->get_line(9) == "\tvar c := a + b");
	CHECK(code_edit->get_line(10) == "\tfor i in range(c):");
	
	code_edit->deselect();
	code_edit->set_caret_line(10);
	code_edit->set_caret_column(1);
	code_edit->add_caret(11, 2);
	code_edit->add_caret(12, 1);
	code_edit->duplicate_lines();
	CHECK(code_edit->get_line(9) == "\tvar c := a + b");
	CHECK(code_edit->get_line(10) == "\tfor i in range(c):");
	CHECK(code_edit->get_line(11) == "\tfor i in range(c):");
	CHECK(code_edit->get_line(12) == "\t\tprint(\"This is the solution: \", sin(i))");
	CHECK(code_edit->get_line(13) == "\t\tprint(\"This is the solution: \", sin(i))");
	CHECK(code_edit->get_line(14) == "\tvar pos = get_index() - 1");