This utility works on all platforms.
This utility is for graphical applications that allow the user to set a preferred editor for a specific part kind.
prefedit