Development: wxRichTextEditor

From WxWiki

Jump to: navigation, search

A place where the API of the rich text editor is described.


Contents

[edit] Current works

1) wxResizeableControl - | win32 sample demo

2) | wxWebKit

3) Development by Julian Smart on wxRichTextCtrl. An initial implementation and demo will be available around the end of October.

A zip file with source and Windows executable is here: (links broken as of 2007-11-08)

http://www.anthemion.co.uk/wxwin/richtextctrl.zip

The executable can be directly run from:

http://www.anthemion.co.uk/wxwin/richeditor.exe

[edit] Feature list

- let user set formatting options

- be able to layout the text so that it can be adapted to surround controls like images, graphs, other text boxes or in general any rectangle given to the layout algorithm

- cut, copy, paste in RTF and XHTML format

- a style manager (define your own paragraph and character styles)

- undo/redo

- indentation, line spacing, ...

- lists

- print/preview

- set of dialogs to help with formatting

- ... the usual word-processing stuff.

See bounty page for wxPython implementation at http://wiki.wxpython.org/index.cgi/RichTextWidget which includes some basic specs.


[edit] Points where all agree

1) need for a generic version of such editor + native versions of it where possible



[edit] Things still to debate

1) complete API description before the project can start ? (No - the initial wxRichTextCtrl submission will provide a starting point for the debate.)

2) Where should the initial implementation go, wxCode or wxWidgets? This decision can be made once the initial implementation has been examined. Pros for putting in wxWidgets: (a) synchronized with wxWidgets, especially w.r.t. extensions that need to be made to wxTextAttr. (b) subject to more testing and cleanup. (c) less duplication of bakefile tweaking if will move from wxCode to wxWidgets eventually anyway.


[edit] People who would like to help on such project

Francesco Montorsi <frm AT users DOT sourceforge DOT net>

Mart Raudsepp <leio AT users DOT sourceforge DOT net>

Julian Smart <julian AT anthemion DOT co DOT uk>

Andy Dent <dent AT oofile DOT com DOT au>

Jim Carroll <jim AT maplesong DOT com>

Personal tools