Note that I'm not looking for something based on TextBox or RichTextBox. What I'm interested in is a text editing control written from scratch using WPF typography features. Open source would be a plus.
A possible place to start, given the overlap between WPF and Silverlight is the Silverlight Rich Text Editor.
It appears to inherit from UserControl, not RichTextEditor.
[Edit regarding open source]
If open source is not a requirement, there are commercial controls under development at Telerik and DevExpress.
Telerik states: "We will be releasing a public CTP of RadEditor for Silverlight in Q1 2009, which is scheduled for the end of February."
DevExpress has a demo version available to look at now.
I don't know of any WPF-based text editor, and I've looked around for one.
Products like Kaxaml use the non-WPF editor SciTE I believe. I know that Rob Eisenberg started work on one, but I don't think he blogged about it (and I think he set it aside.)
The next version of Visual Studio (2010) is said to have a WPF-based text editor.
The short answer is that currently there isn't one.
I think most people don't have a clue that WPF brings anything interesting Typography-wise. On the other hand, most of the OpenType-related functionality is not exposed by Microsoft, i.e., you can't just access the kerning table in OO fashion. I had to write everything myself :(
Seriously, if you want a WPF-driven text control you'll have to either use what's already available in WPF, or write your own.
Hi everybody, I suggest you to try (and buy then ..) our WPF Text Editor. WPFTextEditor allows to import/export documents in RTF and DOCX format. It manages different kind of style and formatting, including table management. It support skinning, so layout can be completely customized. All the labels and messages can be easily changed as well as new language translations can be added. Take a look to http://www.wpftexteditor.com Bye Gianluca
Daniel Grunwald has written the Wpf text editor for SharpDevelop completely from scratch. It is called AvalonEdit and a good article is on codeproject:
heya,
i started out with this one: http://michaelsync.net/2009/06/09/bindable-wpf-richtext-editor-with-xamlhtml-convertor
its bindable and has support for html - what is key for my application (though it still uses RichTextbox under the hoods)
i use an editor in my "note your life" application - something like a one-note clone, just much better :) - and since i constantly expand this editor i think of contributing to it and give back the extended source to the community.
have fun, sargola
Another great editor is done by Aqistar, they have great support and we use it internally in our tools.