views:

7051

answers:

11

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.

+1  A: 

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.

Timothy Lee Russell
looks interesting, thanks.
aku
Seems dead now though...
Ruben Bartelink
Well, the source code is up there...so, if anything, let's call it "resting".
Timothy Lee Russell
+3  A: 

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.

bennage
aku
I believe Kaxaml is using ICSharpCode.TextEditor.
idursun
A: 

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.

Dmitri Nesteruk
+2  A: 

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

Gianluca Centulani
Looks promising. Can't wait to put in Reflector :) Does it have extensibility points?
aku
you can download it now from our site. About extensibility points, there's the possibility to implement a "save" method that allow you to save data somewhere on your application instead of the disk. you can complitely change the layout, but if you need a new feature you have to ask us to implment it
Gianluca Centulani
A: 

I have tested it, it is actually almost perfect. Expected price is very fair considering the content 12th of February is confirmed? JohnDo

A: 

This one is in pretty heavy development but it does the basics right now (bold, italic, underline, alignment, fonts, font size, images, links)

Alex
+2  A: 

Try this free open-source: http://www.codeplex.com/WPFRichEditorLibrary

+1  A: 

A Free Silverlight RichText Editor is available on this site.

+4  A: 

Daniel Grunwald has written the Wpf text editor for SharpDevelop completely from scratch. It is called AvalonEdit and a good article is on codeproject:

http://www.codeproject.com/KB/edit/AvalonEdit.aspx

Patrick Klug
I have added a wish for a better RichTextBox editor. suppor it here: http://dotnet.uservoice.com/forums/40583-wpf-feature-suggestions/suggestions/995859-completely-rework-the-richtextbox-control-make-it
Patrick Klug
+1  A: 

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

Sargola
A: 

Another great editor is done by Aqistar, they have great support and we use it internally in our tools.

http://www.aqistar.com/

David Rogers