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 700+ lines of Tcl/Tk (see below), but has many expected features:
See also:
ToyEd is open source under the MIT license. See source code:
As of 23 Jan 2024, the editor has seen little use. Please back up your data.
The user interface should be fairly obvious. See also:
Running ToyEd from source requires Tcl/Tk 8.6 or newer, with Tklib. Both are available on most Linux distributions, or else from the tcl-lang.org website:
Recommended screen resolution: 800x600.
Q: Have you considered adding syntax highlighting?
A: I'd love to, but that would be quite involved, especially for multiple languages, and ToyEd is meant to stay simple so it can serve as a basis for bigger apps. Not all text editors should be programming editors!
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.