A toy text editor in Tcl/Tk for educational purposes.
ToyEd is a toy text editor made for fun and learning. It's not meant for serious use, but rather to be studied and built upon.
ToyEd is written in 650 lines of Tcl/Tk (see below), but has many expected features:
ToyEd is open source under the MIT license. See source code:
As of 6 January 2023, the code seems to work right, but hasn't really been tested. Please back up your data.
The user interface should be fairly obvious. See also:
Running ToyEd from source requires Tcl/Tk 8.5 or newer, with Tcllib and Tklib. Both are available on most Linux distributions, or else from the tcl-lang.org website:
Recommended screen resolution: 800x600.
ToyEd was born from the experience of developing an older project, and reuses most code from it:
Scrunch Edit TT, a two-pane outliner for Markdown and org files
You can usually find me on IRC:
or else on Mastodon:
Would love to hear from you.