Free/open source code editor UI control for .Net [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years开发者_如何学运维 ago.
Improve this questionI'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?
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.
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!
Scintilla is a powerful, open-source code editing component, and there is a .NET control available for it.
精彩评论