💾 Archived View for gemini.ctrl-c.club › ~nttp › toys › toyed › native.gmi captured on 2024-05-26 at 16:38:18. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
A toy text editor in C++ 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 570 lines of C++ (see below), but has many expected features:
ToyEd is open source under the Boost license. Packages include source code:
ToyEd Native 1.1 for amd64 Linux (20K)
ToyEd Native 1.1 for x86 Linux (21K)
As of 5 February 2023, the code seems to work right, but hasn't been tested much. Please back up your data.
The user interface should be fairly obvious.
Building ToyEd Native from source requires a C++11 compiler and the FLTK library, version 1.3 (or 1.4, reportedly). So far it's been tried with success on Linux and Haiku. A makefile is included, but it does little more than
g++ -o toyed -lfltk main.cpp
Minimum screen resolution: 800x480. Recommended: 1024x768.
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 Native is a port of the original text editor written in Tcl/Tk:
It shares most of the same features and overall design.
You can usually find me on IRC:
or else on Mastodon:
Would love to hear from you.