1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

fix: Editor, save script file: Triple quote string: spaces are converted into tabs

This commit is contained in:
SaNeOr
2024-09-13 01:50:39 +08:00
parent 83d54ab2ad
commit ed69fd66da
2 changed files with 14 additions and 0 deletions

View File

@@ -1007,6 +1007,10 @@ void CodeEdit::convert_indent(int p_from_line, int p_to_line) {
continue;
}
if (is_in_string(i) != -1) {
continue;
}
// Check chars in the line.
int j = 0;
int space_count = 0;