Suppose SciTE is configured with the following settings:
tabsize=4
indent.size=2
use.tabs=0
indent.auto=1
The goal here is to use a 2-space indent without tabs; but, if a file is opened which already contains tabs, then SciTE should display each tab as wide as 4 spaces.
If you try opening a file which is indented using tabs, SciTE will correctly detect the tabs, but it will still set the indent size to 2 and the tab size to 4. Ideally in this case the indent size should be set to be the same as the tab size.
Tested on Windows 10 using SciTE 4.4.4 and Mercurial tip (994299e3975a).
I think this can be fixed with a one-line change.
Committed as [2c1bbd].
Credited to "gnombat". If you want a different name in the credits then reply with your preferred name.
Related
Commit: [2c1bbd]