Cannot disable tab to space
I have installed the new version 8.1.2 64 bit on Windows 10. I can not disable Settings>preferences>Languages and then the Replace by space option. The hook is set or unset but in the editor tabs always get replaced by spaces. How can I disable this?
Notepad++ v8.1.2 (64-bit)
Build time : Jul 16 2021 - 01:59:50
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2009
OS Build : 19042.1110
Current ANSI codepage : 1252
PeterJones last edited by
The hook is set or unset but in the editor tabs always get replaced by spaces. How can I disable this?
Based on your description, I’d say you either set the hook for one language and are using another, or you set the hook for the generic
[Default]language but that the language you are actually using does not honor that setting.
[Default]is set to replace-with-space, but when Language > M > Makefile is active, it still uses tabs:
This is because the Makefile setting in the Languages prefererences does not use default value and is not set to replace-by-space
If I change that to use default, then even in Makefile it will use spaces instead:
So you have to have the right combination. The important details are which Language is selected for the active file, and how the combination of the Tab settings for that language interact with the tab settings for the
(If the lower-left of the status bar is “Normal text file” and the Language menu indicates None (Normal Text), then the file will follow
[Default]; for any other language, it will follow the settings for that language)
I see, thank you. I am using python and it says python file in the lower left. So how can I edit that setting for python?
Alan Kilborn last edited by Alan Kilborn
So how can I edit that setting for python?
Wouldn’t you think you’d do it by making this selection and then changing the settings below it?:
Dam it, it was too simple. Thanks!