Merge pull request #96925 from SaNeOr/fix-#96908

Fix spaces converted to tabs in triple quote strings
This commit is contained in:
Thaddeus Crews 2025-05-26 11:24:30 -05:00
commit 5df01a8c5a
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
2 changed files with 14 additions and 0 deletions

View file

@ -1039,6 +1039,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;