Much respect for sharing this!The editor is probably made in C#, as well as the dll file.
EDIT:
No, it looks like it was from C++
This is the software for the default script editor https://www.scintilla.org/
You could see it from the menu Help > About.