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

半腔热情 提交于 2019-11-26 12:10:57

问题


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?


回答1:


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!




回答2:


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



来源:https://stackoverflow.com/questions/2968057/free-open-source-code-editor-ui-control-for-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!