Quote:
Originally Posted by DNSB
Notepad++ will also monitor changes in the source and ask if you want to reload the file. I've never noticed an open in read only but if you right-click on the file tab after opening a file, read only is a choice.
|
The advantage of a read only text viewer is that you don't have to do anything special to protect yourself from yourself, apart from remember to use it
I think NP++ has a command line switch to open a file read only - maybe '-ro', but their site's still down so I can't look it up easily.
Another alternative is to open the file in a browser.
Added - here 'tis ==>>
Open Readonly with Notepad++ - GitHub. I use Send To a lot so I put a shortcut with this target
"C:\Program Files (x86)\Notepad++\notepad++.exe" -ro into shell:sendto.
BR