Delete action should not delete four spaces at once, if “substitute tabs by spaces” is not set
When you set a language in Builder to work with tabs (i.e. „replacing tabs with spaces“ being inactive) and you then press delete while the cursor is preceded by four or more spaces, the preceding four get deleted at once.
When Builder is configured to not replacing tabs by several spaces, it would be consequent if the delete action would also not mix those characters – and thus would not act on several spaces at once, too (but instead delete one-by-one).
I sometimes work on documents with mixed indentation. YAML being the best example here, as I there have to use stupid spaces for indentation, and even more annoying is the fact that one indentation is formed by just two spaces. So on one side, I have to indent by two spaces for YAML being valid, whereas on the other side, I still want to be able to use the usual, more coarse indentation of tabs being four spaces wide for everything else. This way, I still can at least normally align values of keys and comments.
In principle, everything works fine, but I always run into one annoyance when I want to de-indent one line. Here I have to delete two spaces in front, but Builder every time deletes four of them, because of my indentation being set to a tab being four charactersr wide. So Builder then always deletes four spaces and have to compensate that by adding two new spaces. (I have no
.editorconfig in use here.)
The alternatives would be to either set the tab width to two spaces or completely abandoning tabs in favor of spaces, but both lead to major disadvantages and lead to even more work. With the first action, I have to press the tab key by a doubled amount for getting the same indentation, and when I for example
cat such a file, the indentation would be totally destroyed (as I set tabs to be uniform four characters wide everywhere on my system). With the second option I also could directly hang myself, as every small change (like commenting out a line) always destroys the complete indentation of everything else in that line. Additionally, I would get loads of spaces (and thus indentation marks) which I don’t need at all, and in some other programs, those spaces would not be deleted by groups of four, but one-by-one, which is extremely annoying and leads to uneven indentation.