views:

825

answers:

4

My boss is looking for a .NET text control to build a custom editor on. Here’s what we need it to do:

  • Supports embedded tables, with easily editing (like Word tables).
  • Supports different text styles (font, size, color, background, etc).
  • Ability to programmatically set styles, both on first load, and as file is edited.
  • Supports key/mouse catching events and changing behavior.
  • Supports large documents (10's to 100's of klocs) without losing performance.
  • Not a full up word processing control, but more an advanced text control.
  • We don’t need to support .rtf, .html, etc. Instead, we need to be able to on the fly translate our data into the text editor control and back out as well, presumably by dynamically creating tables, indentation levels, etc.

We have looked at and rejected a few options including TX Text Control (because its table editing is not good enough, specifically its column editing abilities)


edit:

  • must support stand alone use.
+2  A: 

Try the editor control from telerik. have a look at the demos and see if it's any good for you.

DeletedAccount
nice, but see edit. Also sluggish on 35KLOC
BCS
Yeah, if I'd have seen the stand alone use bit I'd have kept on browsing :o)
DeletedAccount
I added it after you answered.
BCS
Who the <blank> down-voted this?! it's a fine answer for users with related questions!
BCS
I use the Telerik editor control and find it very flexible and quite reliable. So, +1 from me.RE: downvoting - it has become a real habit for lots of people. If you don't like the Telerik control, then at least explain that. If you like something else better then put your own answer in and see who gets upvoted the most.
Mark Brittingham
A: 

I incorporated FCKEditor primarily because of it's reputation and the .Net integration. I also find it highly and easily customizable, plus you can create multiple toolbars.

Rockitsauce
FCKEditor is an HTML test editor. This question is about WinForms.
Lucas
A: 

How about hosting the The WPF RichTextBox control in WinForms.

Peter Lillevold
That was what we ended up trying, but it had performance and scaling issues. (We eventually dropped the motivating design and when with something else)
BCS
Really? I guess the WPF-based editor in VS 2010 is not built on the RichTextBox control then :)
Peter Lillevold
A: 

Similar in spirit to Telerik answer... Have you considered DevExpress rich edit control? They also nave a nice app framework to build your app.

GregC