Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

For a project I am working on, I need to implement a source code editor in VB .Net (for VB .Net code). Nothing really fancy, but stuff such as indentation, colors for keywords, grouping, line numbering ...

 

As I never done anything like that, I am am looking for an exemple of a source code editor which could point me in the right direction?

 

Does anyone have any idea ?

 

Thanks in advance.

 

Pierre

  • *Experts*
Posted

I recommend that you do a search on Google for the 'CodeSense'

control; it does all that you need here, I believe. It has built in

syntax coloring, line numbers, etc. Anything other than that could

probably be implemented fairly easily. If by 'grouping' you mean the

#Region tags, that's quite a bit harder and is probably more trouble

than it's worth. It would mean you wouldn't be able to use the CodeSense

control and would have to write your own control.

  • *Gurus*
Posted

There are many such controls around, including a few for .NET which are very slow. The best one (still) is an ActiveX control called CodeMax. Someone made a derivation of CodeMax called CodeSense which is also ok, as VolteFace said.

 

Either will probably suit your needs.

 

Oh, by the way, stay away from the SyncFusion one, it's slow as hell.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Posted

Thanks to both of you.

 

I have been looking into CodeMax/CodeSense. It is not supported any more but I have managed to find it on the codemax Yahoo group.

 

Divil, you wrote that there are some such controls for .Net, would you have any name?

 

Speed is not such a problem and a .Net control would be easier to implement for me.... I don't want to have to dive in C++ code ... C# is difficult enough for me

  • *Gurus*
Posted

You don't have to dive in to any such code, you can simply stick the control on your form the same as you would a .net one. You found the CodeMax Yahoo group, that's good. Get the latest one from there and start using it :)

 

SyncFusion made a .net syntax highlighting control, but I found it too slow and unresponsive to use.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...