Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Free/open source code editor UI control for .Net [closed]

I'm looking for a free, syntax-highlighting, possibly autocompleting "Programmer's textbox" style control for use in a Visual Studio Windows Forms or WPF project. It should work with C# and self-defined languages, and the licence should permit its use in a closed, in-house development tool.

There are pay-for solutions available - something like http://www.syncfusion.com/products/user-interface-edition/windows-forms/Edit would work fine - but I am looking for something simpler, and would prefer not to pay for unnecessary functionality. Any ideas?

like image 660
Daniel Situnayake Avatar asked Jun 03 '10 16:06

Daniel Situnayake


People also ask

Is code mirror free?

codemirror - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers.

What is open source code editor?

A source-code editor is a text editor program designed specifically for editing source code of computer programs. It may be a standalone application or it may be built into an integrated development environment (IDE) or web browser.


2 Answers

I've been using the SharpCode.TextEditor for a few cases, and it works quite well - including syntax highlighting and all.

Check out this Using ICSharpCode.TextEditor article on CodeProject for an intro.

alt text

To download it, go to the SharpDevelop web site and download the latest sources. One of the projects included is the Text editor, which you can easily isolate into its own assembly or sub project - you get all the source code, after all!

like image 120
marc_s Avatar answered Oct 31 '22 16:10

marc_s


Scintilla is a powerful, open-source code editing component, and there is a .NET control available for it.

like image 24
bta Avatar answered Oct 31 '22 15:10

bta