### 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
CHECK(code_edit->get_line(15) == "\tvar pos = get_index() - 1");
	CHECK(code_edit->get_line(16) == "\tprint(\"Make sure this exits: %b\" % pos)");
	
	code_edit->select(0, 0, 1, 2, 0);
	code_edit->select(3, 0, 4, 2, 1);
	code_edit->select(16, 0, 17, 0, 2);
	code_edit->set_caret_line(1, false, true, 0, 0);
	code_edit->set_caret_column(2, false, 0);
	code_edit->set_caret_line(4, false, true, 0, 1);
	code_edit->set_caret_column(2, false, 1);
	code_edit->set_caret_line(17, false, true, 0, 2);
	code_edit->set_caret_column(0, false, 2);
	code_edit->duplicate_lines();
	CHECK(code_edit->get_line(1) == "extends Node");
	CHECK(code_edit->get_line(2) == "extends Node");
	CHECK(code_edit->get_line(3) == "extends Node");
	CHECK(code_edit->get_line(4) == "");
	CHECK(code_edit->get_line(6) == "\tvar a := len(OS.get_cmdline_args())");
	CHECK(code_edit->get_line(7) == "func _ready():");
	CHECK(code_edit->get_line(8) == "\tvar a := len(OS.get_cmdline_args())");
	CHECK(code_edit->get_line(9) == "\tvar b := get_child_count()");
	CHECK(code_edit->get_line(20) == "\tprint(\"Make sure this exits: %b\" % pos)");
	CHECK(code_edit->get_line(21) == "");
	CHECK(code_edit->get_line(22) == "\tprint(\"Make sure this exits: %b\" % pos)");
	CHECK(code_edit->get_line(23) == "");
	memdelete(code_edit);
}
} 
#endif