Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

a rich text editor written in tk: does it exist?

341 views
Skip to first unread message

Khufu

unread,
Sep 17, 2011, 7:58:14 PM9/17/11
to
Hello. I am in the middle of studying the text widget. This widget is
designed as if it is made for a rich text editor, like OpenOffice
Writer, or the much smaller Rich Text Editor written with only xlibs
widgets: the TED.

So it strike me to find there isn't a Rich Text Editor for tcl. I can
imagine a Rich Text Editor can demonstrate capacity, can be used as a
mega-widget in other applications. The only thing I can find are HTML
rendering engines and many plain-text editors written in TCL that
doesn't do rich text (italic, bold, underline). Did I miss anything?

Best.

Uwe Klein

unread,
Sep 18, 2011, 4:41:50 AM9/18/11
to
The RTF format is an only superficially usefull format IMHO.
It lacks concise concept being very Microsoft in that respect.

That said:
http://wiki.tcl.tk/10429

I would go for an import/export filter tk-text <> rtf

uwe

Christian Gollwitzer

unread,
Sep 18, 2011, 5:53:57 AM9/18/11
to
Am 18.09.11 10:41, schrieb Uwe Klein:
> Khufu wrote:
>> Hello. I am in the middle of studying the text widget. This widget is
>> designed as if it is made for a rich text editor, like OpenOffice
>> Writer, or the much smaller Rich Text Editor written with only xlibs
>> widgets: the TED.
>
> The RTF format is an only superficially usefull format IMHO.
> It lacks concise concept being very Microsoft in that respect.

I think, the OP is not referring to the RTF file format, but to a
graphical tool to create formatted text along the lines of a word
processor like MS Word. Some thing with a text widget + a button toolbar
to format selected text in bold, italics, do font family changes, text
flow control and inserting images and hyperlinks. For an example in
Javascript, see
http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm
RTF would be useful as a storage format of a rich text megawidget built
on top of the text widget, though.

Christian

blacksqr

unread,
Sep 18, 2011, 5:10:46 PM9/18/11
to
Long ago there was such a rich text editor called Cicero (see
http://wiki.tcl.tk/6472). It would be nice if someone would take a
look at it and see if anything from that program could be salvaged or
refurbished into a modern app. I agree that the text widget has great
potential to be the base of a lightweight rich text editor.
Developing such an editor, targeted say for the handheld and tablet
markets, could be a significant entrepreneurial opportunity.

--Steve H.

escargo

unread,
Sep 18, 2011, 11:05:34 PM9/18/11
to
I have an ancient computer with Word for Windows 1.0 that I still use.

The only format that it uses that I can still easily import into more
modern versions of Word (Office 2003 and a later version of Office for
Mac) is RTF.

There is a need. Too bad RTF is not even a well-defined format.

escargo

unread,
Sep 19, 2011, 10:08:02 AM9/19/11
to
I looked at the wiki page for Cicero, found where the code had moved
to, and updated the link.

Gerry Snyder

unread,
Sep 19, 2011, 11:05:20 AM9/19/11
to
On 9/17/2011 4:58 PM, Khufu wrote:
> ....
>
> So it strike me to find there isn't a Rich Text Editor for tcl.

Aejaks has rich text support built in. It uses jacl (Tcl in java) and a
GUI system similar to (but distinct from) Tk.

Well worth looking at, especially if you would like to be able to run
your software remotely. You can be running and looking at the widget
demo within 10 minutes of reading this.

http://aejaks.sourceforge.net/Aejaks_Home/index.html


Gerry
0 new messages