Tips & tricks
Note: All the registry values mentioned in this document are values of type string (REG_SZ)
To change the default File Open dialog folder, add the following value to the registry:
| Key: | [HKEY_CURRENT_USER\Software\T.A. van Roermund\NotepadEx\Settings] |
| Value Name: | OpenPath |
| Value Data: | The folder of your choice (for example: "C:\My Documents") |
To change the default File Save dialog folder, add the following value to the registry:
| Key: | [HKEY_CURRENT_USER\Software\T.A. van Roermund\NotepadEx\Settings] |
| Value Name: | SavePath |
| Value Data: | The folder of your choice (for example: "C:\My Documents") |
To save the file save-as type between two NotepadEx sessions, add the following value to the registry:
| Key: | [HKEY_CURRENT_USER\Software\T.A. van Roermund\NotepadEx\Settings] |
| Value Name: | SaveAsType |
| Value Data: | 0 |
Note: To disable this function again, just delete this value from the registry.
To change the number of files in the recent files list, add the following value to the registry:
| Key: | [HKEY_CURRENT_USER\Software\T.A. van Roermund\NotepadEx\Settings] |
| Value Name: | MRUListCount |
| Value Data: | The number of files you want in the recent files list (4 = default) |
To change the default File Open & File Save dialog filters, add values to the following registry key:
| Key: | [HKEY_CURRENT_USER\Software\T.A. van Roermund\NotePadEx\Filters] |
| Value Name: | Name1, Name2 etc. |
| Value Data: | Filter name ("Text Documents" or "Web Pages" for example) |
| Value Name: | Mask1, Mask2 etc. |
| Value Data: | Filter mask ("*.txt" or "*.htm; *.html; *.xml" for example) |
To reset the filters to the default filters, delete the 'Filters' subkey from the registry.
Note: The new filter will be used next time you start NotepadEx.
You can use NotepadEx (or any other program) to quickly view unknown files and even all files from the windows explorer. If you apply the following registry tweak, double clicking a file which is not associated to a specific program will be opened with NotepadEx. And if you double click a file while pressing the Shift key (or press Shift+Enter on a selected file), that file will be opened with NotepadEx regardless of the fact that it might be associated with another program.
| Key: | [HKEY_CLASSES_ROOT\Unknown\shell\open\command] |
| Value Name: | (Default) |
| Value Data: | notepad.exe "%1" |
By default NotepadEx includes the End-Of-Line characters when selecting a line with the Shift+End key combination. If you want exclude the End-Of-Line characters, add the following value to the registry:
| Key: | [HKEY_CURRENT_USER\Software\T.A. van Roermund\NotePadEx\Settings] |
| Value Name: | ExcludeEOLOnLineSelection |
| Value Data: | "0" = include End-Of-Line characters (default), "1" = exclude End-Of-Line characters. |
Note: The new setting will be applied next time you start NotepadEx.
If you want to be able to exit NotepadEx with the Escape key, add the following value to the registry:
| Key: | [HKEY_CURRENT_USER\Software\T.A. van Roermund\NotePadEx\Settings] |
| Value Name: | ExitWithEscape |
| Value Data: | "0" = disables this option (default), "1" = enables this option |
Note: The new setting will be applied next time you start NotepadEx.
By default NotepadEx uses a column position base of 1. If you want to use a column position base of 0, add the following value to the registry:
| Key: | [HKEY_CURRENT_USER\Software\T.A. van Roermund\NotePadEx\Settings] |
| Value Name: | ColumnPosBase |
| Value Data: | "0" = column pos base of 0, "1" = column pos base of 1 (default) |
Note: The new setting will be applied next time you start NotepadEx.
Normally when you scroll with the mouse wheel, you scroll 3 lines at a time. But you can press the Control key to scroll 1 line at a time and you can press the Shift key to scroll 1 page at a time.
To cut the entire line on which the cusor is located, press Ctrl+Y.
To scroll using the keyboard without moving the cursor, press Ctrl+Up, Ctrl+Down, Ctrl+PageUp or Ctrl+PageDown.