From Newsgroup: comp.lang.tcl
I've just made this project public:
https://github.com/mark-summerfield/ste
"Styled Text Editor" written in Tcl/Tk 9.
The purpose of this project is to provide a test framework
for my TextEdit class (~900 LOC) which is in effect a
tk text widget "subclass".
It supports some basic styling: color, highlighting, bold,
italic, alignment, super- and sub-scripts, etc., all of
which is saved and loaded with perfect fidelity. It also
supports simple one and two level bullet lists (with
proper indentation for wrapped lines) and text completion.
There's no support for multiple font families (although
the base font family and size are customizable), numbered
lists, images, or tables, since I don't need these.
I'm using multiple TextEdits in a private project I'm
working on that is replacing a Python/Qt5 application.
The Tcl/Tk version is ~4000 LOC (~4500 expected by the
end) and uses ~22MB RAM; the Python original is
~5400 LOC and uses ~48MB RAM.
In all but two respects the Tcl/Tk version is superior:
Qt has a better calendar widget; Qt can output far
better HTML than my TextEdit class does.
--- Synchronet 3.21a-Linux NewsLink 1.2