Can VS.NET code editor window be used as a control?

  • Thread starter Thread starter Dean Slindee
  • Start date Start date
D

Dean Slindee

I would like to be able to view-only Visual Studio code files (.vb, .cs) in
an application outside of Visual Studio. Is it possible to show the code in
the same rich formatting (at least colors and indentation) as in a Visual
Studio code editor page? Could be either an .rtb or VS.NET text control.
Any ideas how to proceed?

Thanks,
Dean Slindee
 
* "Dean Slindee said:
I would like to be able to view-only Visual Studio code files (.vb, .cs) in
an application outside of Visual Studio. Is it possible to show the code in
the same rich formatting (at least colors and indentation) as in a Visual
Studio code editor page? Could be either an .rtb or VS.NET text control.
Any ideas how to proceed?

You can base your implementation on the text editor component of
SharpDevelop:

SharpDevelop @ic#code
The Open Source Development Environment for .NET
<URL:http://www.icsharpcode.net/OpenSource/SD/>
 
I have been programming for 8 years now, and the one control that has really
frustrated me is the code editor. The functionality required by it goes far
beyond the features presented by .NET languages. If you want to make your
own control (which I highly NOT recommend), I suggest you make it in C++.
Very tough though.....

See the post above. SharpDevelop has done it.
 
Back
Top