Program editors are specifically designed for code editing. They’re typically simple applications that give more basic options to rewrite or create scripts, often providing no more functionality than absolutely necessary.
Integrated Development Environments (IDEs) are very similar. However, IDEs usually have many more development options. Not only do IDEs include code editors, but often automation tools and debuggers as well.
IDEs are basically code editors with more features and development tools included.