Merge pull request #96925 from SaNeOr/fix-#96908
Fix spaces converted to tabs in triple quote strings
This commit is contained in:
commit
5df01a8c5a
2 changed files with 14 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue