@PeterJones said in Scintilla script help for 'Show white space and TAB':
I’ll leave it at that.
When have you known me to leave it at that? ;-)
To set the whitespace size with a scripting language (in case you don’t want to use ExtSettings):
PythonScript: add the following to your startup.py (or to another script you call from startup.py:
editor1.setWhitespaceSize(0)
editor2.setWhitespaceSize(0)
NppExec:
Plugins > NppExec > Execute, type in:
set local x = $(FILE_NAME)
npp_switch $(LEFT_VIEW_FILE)
sci_sendmsg SCI_SETWHITESPACESIZE 0
npp_switch $(RIGHT_VIEW_FILE)
sci_sendmsg SCI_SETWHITESPACESIZE 0
npp_switch $(x)
Save…, pick a name (like ZeroWhitespaceSize)
Plugins > NppExec > Advanced Options
Execute this script when Notepad++ starts = ZeroWhitespaceSize