We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2633fda commit 8638a71Copy full SHA for 8638a71
modes/python/mode.gd
@@ -83,7 +83,7 @@ func _generate_outline(text: String) -> Array:
83
for l in text.split("\n").size():
84
var line := text.split("\n")[l]
85
if line.begins_with("def "):
86
- outline.append([line.substr(5, line.find("(") - 5),l])
+ outline.append([line.substr(4, line.find("(") - 4),l])
87
return outline
88
89
0 commit comments