[Tutor] Text editing
Alan Gauld
alan.gauld at btinternet.com
Thu Apr 10 19:20:07 CEST 2008
"Michael Schultz" <geekomancerone at gmail.com> wrote
> Hello everyone. I'm looking to build a cross-platform "writer's
> assistant",
> and I figured my first step would be to re-invent the wheel, er I
> mean built
> a simple rich-text editor as a base.
>
> I'm trying to figure out the simplest way to do so, and figured I'd
> ask if
> anyone knew some good resources that give examples I can study?
Look at the code for IDLE.
Look at the Scintilla widget and the Ala Mode code in wxPython.
I assume you want to use a GUI toolkit.
Fuinally decide whether you want a full GUI WYSIWYG editing
interface or a command driven one (ala vi or emacs C- mode).
The latter is esier to build but less popular with modern users.
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list