"Edit" and "open with" are different functions.  If you wish to change the edit program you need to make a registry change.  You can do this manually or there are utility programs available to do it for you.  There is a good guide to the options here:
Link Removed