It cannot simply be replaced, if you want to use Notepad++ as your default Text Editor, you have to follow the tutorial