Set Notepad++ as the default EDIT program for '.txt' files?

Here is how I fixed it:

RegEdit: open: Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\.txt

Add the following three key values: shell, edit, command so you have this address: Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\.txt\shell\edit\command
With command selected in the left pane, you see: (Default) REG_SZ on the right.

Right click on (Default), select Modify... then add this Value data:

"C:\Program Files (x86)\Notepad++\notepad++.exe" %1

Close RegEdit.

Now I can right-click > Edit any ".txt" file and it opens Notepad++.