Is there a standard editor control that can handle...

T

Tony

I am not familiar with the various editor controls that comes with .NET, can
someone tell me is there one which can handle by default, or with minor
customization, the following features:

* auto indenting based on rules (open/close brace)
* collapse/expand of sections (with plus sign on the margin)
* coloring and hyperlinking of individual words
* dynamic context menu depending on what word you right click on

basically, alot of features that are part of .NET's code editor itself

is there a control that can handle this or is it very hard to implement?
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Basically you want to editor from the IDE :)

There is no such control in the framework, the closest one is the
richTextEditor and is FAR, FAR from having all the features you mention.

Take a look at third party controls, like Infragistics, o teleriks
 
P

Peter Ritchie [C# MVP]

Neither TextBox nor RichTextBox will do that for you. RichTextbox would be
the only one that could support all points in your list (Text box doesn't
directly support changing colour of individual text within the control).
 
U

Ulf Kadner

Tony said:
I am not familiar with the various editor controls that comes with .NET, can
someone tell me is there one which can handle by default, or with minor
customization, the following features:

* auto indenting based on rules (open/close brace)
* collapse/expand of sections (with plus sign on the margin)
* coloring and hyperlinking of individual words
* dynamic context menu depending on what word you right click on

Maybe you take a look at fireedit-Controls. The are free and very
helpfull. Google knows it ot goto codeproject.com:
http://www.codeproject.com/KB/miscctrl/fireballcodeeditor.aspx

So long, Ulf
 

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

Top