I'm curious as to what the IDE source code looks like

I think you need to know Processing (and Java) to understand it.