In this second half of my little two-part series, I spend plenty of time detailing and going through the actual action of programming the GUI functionality into the GUI that we designed in the previous section. Until now, we have not written any code, but after this, we will have about 250 lines of Scheme code that enables all of our Text Editor's functionality.

Please note that I use a lot of features of Scheme here, including macros, both hygienic and unhygienic, foreign data types, foreign functions, closures, and others. I presume that the viewer will have the wherewithal to research and understand this code on their own time, as I do not take the time to explain all of it.

YouTube | Download (WebM)