回答
ICSharpCode.TextEditor是免費的,相當穩定。
至於商業解決方案Actipro的SyntaxEditor可能是一個最好的選擇
試用ScintillaNET這是各地優秀Scintilla控制一個.NET的WinForms包裝。 Scintilla本身是一個免費的源代碼編輯器組件,它非常可定製,並且具有您要求的所有功能。請參閱here獲取屏幕截圖。
與Scintilla.Net相比,增強ICSharpCode.TextEditor是微不足道的。 ICSharpCode.TextEditor的另一個巨大優勢是可以自定義/構建自己的語法高亮顯示,例如:https://github.com/icsharpcode/SharpDevelop/wiki/Syntax-highlighting。
但ICSharpCode.TextEditor並不穩定,它充滿了AccessViolations:https://www.google.com.au/search?q=icsharpcode.texteditor+accessviolationexception
你可以看到這些AccessViolations第一手通過下載: http://www.codeproject.com/Articles/30936/Using-ICSharpCode-TextEditor
此版本在GitHub上的表現更好的WinForms,但在VSTO它仍然尖叫AccessViolations: https://github.com/KindDragon/ICSharpCode.TextEditor
同DigitalRune's version of the ICsharp.TextEditor。
我推薦最新的WPF實現:ICSharp.AvalonEdit。
如果您需要託管在此的WinForms WPF控件:
public Form1()
{
InitializeComponent();
ICSharpCode.AvalonEdit.TextEditor te = new ICSharpCode.AvalonEdit.TextEditor();
ElementHost host = new ElementHost();
host.Size = new Size(200, 100);
host.Location = new Point(100, 100);
host.Child = te;
this.Controls.Add(host);
}
一些商業的,我碰到(注意我不是在與這些公司下屬): http://www.actiprosoftware.com/products/controls/windowsforms/syntaxeditor http://www.qwhale.net/products/editor.htm
- 1. 編輯Textmate語法高亮?
- 2. 跨平臺'代碼編輯'控件(帶語法高亮等)
- 3. ACE編輯:禁用語法驗證,但保持語法高亮
- 4. Python:wingIDE語法高亮定製
- 5. 帶有語法高亮的iFrame中的HTML編輯器
- 6. 控制第三方程序
- 7. eclipse java編輯器方法建議
- 8. Visual Web Developer 2008 Express中的語法高亮編輯
- 9. Mason的好IDE或語法高亮編輯器?
- 10. 使用AvalonEdit編寫的語法高亮
- 11. 隔世的語法高亮R編寫
- 12. Emacs的Auctex定製的語法高亮
- 13. 定製的語法高亮[JS]
- 14. 高亮文本編輯器
- 15. 可編輯文本高亮
- 16. 文本編輯器語法高亮顯示如何工作?
- 17. 王牌編輯/嵌入多個語法高亮
- 18. 編輯控件 - C#的WinForms
- 19. VB.NET:語法高亮
- 20. Android:語法高亮?
- 21. SharePoint 2010使用第三方編輯器
- 22. javadoc的語法高亮?
- 23. ReSharper的像語法高亮
- 24. xCode4 Lua的語法高亮
- 25. TextEditor的語法高亮
- 26. Drupal的6語法高亮
- 27. R Confluence的語法高亮
- 28. PhpStorm上的語法高亮
- 29. eclipse插件中:打開的編輯器與Python語法高亮編程
- 30. 如何在eclipse中靈活切換/控制語法高亮?
SnippetCompiler http://www.sliver.com/dotnet/SnippetCompiler/也使用ActiPro作爲它的編輯器。 – 2008-09-07 17:22:23
順便說一句,如果有人奇怪,ActiPro不支持客戶端配置文件。 – 2011-02-25 16:28:54