The code editor is the primary function of the IDE. I did mention other apps because I wasn’t making that direct comparison but if I was I’d say it’s more like a peeled orange (the code editor) to the unpeeled orange (the IDE).
Both are fruits. The comparison applies here I think :-)