Based on this discussion I found there are two ways to increase the whitespace character size by sending commands to Scintilla which is the underlying editor component that Notepad++ is using. In the example below I have set the size to 3 which has increased the size of the dot rendered from 1 x 1 pixels to 3 x 3 pixels:
Note that there seems to be a bug because the character is not centered, so you may have to experiment with the value based on what font size you are using.
Method A using Python
- Install the Python scripting add on for Notepad++ from SourceForge (the version from the Notepad++ add-on manager doesn't currently work)
- Run a new instance of normal Notepad as an administrator
Use it to open the following path:
[Notepad++ main install directory]\plugins\PythonScript\scripts\startup.py
Append the following at the bottom:
- Save the file.
- Open Notepad++
- Choose Plugins -> Python Script -> Configuration
- Ensure Initialisation is set to ATSTARTUP and save
- Restart Notepad++ and spaces should now show as much larger dots automatically
Method B using macros
It is also possible to do it purely with macros and no extra plugins. You could edit the
shortcuts.xml file in
%AppData%\Notepad++ using notepad and add the following before the closing
<Macro name="Increase Whitespace Size" Ctrl="yes" Alt="yes" Shift="no" Key="100">
<Action type="0" message="2086" wParam="3" lParam="0" sParam="" />
This will give you a new macro called Increase Whitespace Size which will do the same thing as the Python script. It will show up under the Macro menu and can be given a shortcut using the Shortcut Mapper.