语法高亮的WinForms文本框,ASP.NET,WPF [英] Syntax-highlighting textbox for Winforms, ASP.NET, WPF

查看:254
本文介绍了语法高亮的WinForms文本框,ASP.NET,WPF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个语法高亮文本框组件,preferably免费的,源代码,并能够在的WinForms,ASP.NET和WPF都正在使用中。此外,它应该支持不只是展示,还编辑内容。

I'm looking for a syntax-highlighting Textbox component, preferably free, with source, and capable of being used in Winforms, ASP.NET and WPF alike. Also, it should support not just display, but also editing contents.

我发现优秀的,免费的 ActiPro为SyntaxHighlighter的ASP.NET 但是这是不幸的是仅适用于ASP.NET,它只有在语法高亮的方式显示文本,它没有编辑功能.....

I've discovered the excellent, FREE ActiPro SyntaxHighlighter for ASP.NET but that's unfortunately ONLY for ASP.NET and it only displays text in syntax highlighted manner, it has no editing capabilities.....

我也知道了 ICSharp文本编辑器组件的 SharpDevelop的但是这是当时一个独立的,但只的WinForms,解决方案。

I also know of the ICSharp Text Editor component that's part of SharpDevelop but that's then a standalone, but Winforms only, solution.

有谁知道,有一个核心处理组件的语法高亮(可配置的,这样我就可以使用它的C#code,XML和HTML文件等),并且有三个皮肤为的WinForms,ASP.NET和WPF?我真的preFER拥有的 ONE 的核心,做繁重,并在上面分担三个的UI核心code ....

Does anyone know of a component that has a core to handle the syntax-highlighting (configurable, so I can use it for C# code, XML and HTML files, and more), and that has three "skins" for Winforms, ASP.NET and WPF? I'd really prefer to have ONE core that does the heavy lifting, and three UIs on top sharing that core code....

任何指针和提示的欢迎!

Any pointers and hints are welcome!

推荐答案

我与你马克:我很乐意看到一个可扩展的语法高亮框架,可能会产生可能然后通过显示一个标记化文件对象每个显示框架控件。这样分析器/标记生成器可以写一次!

I'm with you marc: I'd love to see an extensible syntax highlighting framework that could generate a tokenized "document" object which could then be displayed via controls for each display framework. This way the parser/tokenizer could be written once!

我能说的最好的是,<一个href=\"http://stackoverflow.com/questions/394751/anyone-know-a-$c$c-editor-i-can-embed-in-a-wpf-window-or-windows-forms\">this螺纹表明,<一个href=\"http://www.actiprosoftware.com/Products/DotNet/ASPNET/$c$cHighlighter/Default.aspx\">ActiProSoftware正在一个WPF控制自己的语法高亮显示。

The best I can say is that this thread suggests that ActiProSoftware is working on a WPF control for their syntax highlighter.

这篇关于语法高亮的WinForms文本框,ASP.NET,WPF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆