My Mini C# Lab

  • Thread starter Thread starter Guineapig
  • Start date Start date
How you created c# syntax coloring editor ?
Where to find source code of this application ?

Andrus.
 
After Mini C# Lab 1.1 was released, the most frequently asked quesitons are:
1) Could it support VB.NET? 2) Where is the source code?

Now, here comes Mini C# Lab ver 1.2 and some wishful features are added.

First, it supports VB.NET now! Yes, **VB.NET**!! Although it's Mini "C#"
Lab, many people still want to use it to test VB.NET code. I found that the
CodeDomProvider provides the abstract class concept, so we can use the almost
same code to add VB.NET support easily. Since it's not difficult at all,
thanks to .NET RD team, I put the VB.NET support into Mini C# Lab ver 1.2.

Second, since many people asked about the source code, here you are. In my
life of coding, I learned a lot from open source projects and always believe
the spirit of sharing over Internet makes the world better day by day. So,
here is my two cents, I have put Mini C# Lab on CodePlex now, if you are
interested in how it works, you can find the source code there. One more
thing, if you find any lousy or dirty code inside my source, please let me
know.

Since it's on CodePlex now, besides my blog, you can give your feedback on
CodePlex, too. Thank you!

Blog:
http://blog.darkthread.net/blogs/darkthreadtw/archive/2008/06/04/minicsharplab12.aspx
CodePlex: http://www.codeplex.com/minicsharplab
 
Guineapig,
Second, since many people asked about the source code, here you are. In
my
life of coding, I learned a lot from open source projects and always
believe
the spirit of sharing over Internet makes the world better day by day.
So,
here is my two cents, I have put Mini C# Lab on CodePlex now, if you are
interested in how it works, you can find the source code there. One more
thing, if you find any lousy or dirty code inside my source, please let me
know.

Thank you.
Ideas:

1. Allow embedding. Create a static method which accepts script as string,
returns modified
script and can be called from other application to embed mini-lab to
application.

2. Change code font to fixed-width.

3. Use http://www.codeproject.com/KB/cs/cs-script_for_cp.aspx as script
engine, it has some more possibilites and automatic
assembly reference adding.

4. Use Searchable controls to add find/replace to RichTextBox ?
http://www.codeproject.com/KB/edit/SearchableControls.aspx
new version: http://jimblackler.net/SearchableControls.zip

Andrus.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top