4

I am wondering whether it's feasible to host the Visual Studio 2010 editor in my WPF application - I understand the new editor is written in WPF.

If so, what control should I use?

tom greene
  • 5,361
  • 9
  • 39
  • 52
  • 3
    I would assume that would depend on whether Microsoft even publishes the VS editor as a standalone control. Have you done any research into this? – Zann Anderson Dec 22 '09 at 18:47

4 Answers4

4

Not an answer to your exact question (though I would bet that hosting part of vs.net isn't readily supported or licensed)...

SharpDevelop makes their code editor, Avalon Edit, available as a standalone. I'm using the beta WPF version and it is quite nice. It's got configurable syntax highlighting and auto completion support.

dkackman
  • 15,179
  • 13
  • 69
  • 123
2

I can confirm that this is not supported in Visual Studio 2010 or Visual Studio 2008.

See http://blogs.msdn.com/wpfsldesigner/pages/general-wpf-and-silverlight-designer-faq.aspx item 5.

Thanks Mark Wilson-Thomas Program Manager, WPF & Silverlight Designer Team, Visual Studio

0

Not all of the Microsoft applications is based on the available-to-all controls. I don't see any reason, why the VS2010 should be the exclusion.

Beresta
  • 696
  • 1
  • 7
  • 9
0

I'm sure the SharpDevelop one is probably the best option, however you could also look at ScintillaNET. This is used by MyGeneration and it very configurable.

Nanook
  • 3,072
  • 2
  • 19
  • 19