接受HTML和输入/输出与拼写检查.NET文本编辑文本编辑、HTML、NET

2023-09-03 09:06:42 作者:林墨淡雅

我一直在寻找的东西,现在做这一段时间,但没有运气...我们有HTML格式,用于存储/使用文本的内部应用程序。现在我正在寻找的编辑成为一个新的控制。

I have been searching for something that does this for a while now, but with no luck yet... We have an internal application that stores/uses text in HTML format. Now I am looking for a new control for editing it.

我不要需要一个全功能的HTML编辑器,只是一些可以用简单的格式化处理。它也需要拼写检查功能。在开始的时候,我们用Word中嵌入了微软的DSO成帧器控制。造成的COM头痛和工作站的性能问题。最近,我们在编辑模式下使用IE浏览器一直。该固定的性能问题,但是不能在COM问题。

I do not need a full-featured HTML editor, just something that can deal with simple formatting. It also needs spell checking functionality. In the beginning, we used Word embedded with Microsoft's DSO framer control. That caused COM headaches and performance problems on the workstations. More recently we have been using IE in edit mode. That fixed the performance problems, but not the COM problems.

我想找到的东西没有外部的依赖,或至少是所有托管code。我不介意建设自己周围的richtextbox控制,但我关注的是HTML的RTF-> HTML转换。因为我们必须处理收到的电子邮件中,我们可以使用HTML的一个子集不是过于自信。我们也将考虑购买一个组成部分,如果它符合我们的需要。我想preFER一些轻量。我们并不需要从头再来嵌入字!

I would like to find something with no external dependencies, or at least that is all managed code. I wouldn't mind building a control of my own around the richtextbox, but I am concerned about the HTML->RTF->HTML conversions. Since we have to deal with incoming e-mails, we can't be too confident using only a subset of HTML. We would also consider buying a component if it fit our needs. I would prefer something light-weight. We don't need to embed Word all over again!

有没有其他人遇到了同样的问题?你是如何解决的呢?

Has anyone else run into the same problem? How did you solve it?

推荐答案

下面是一对夫妇的选择处理语法高亮一个开源的基于.NET的文本编辑器

Here are a couple of options for for an open source .NET-based text editor that handles syntax highlighting

的ICSharp code.TextEditor组件 SharpDevelop的 C#IDE DOTNET的火球 The ICSharpCode.TextEditor component of the SharpDevelop C# IDE DotNet Fireball

这应该是比较容易设置这些为HTML,或查找现有的语法定义HTML。

It should be relatively easy to set these up for HTML, or find existing syntax definitions for HTML.

我不是太肯定嵌入拼写检查到,但这篇文章可能会感兴趣:

I'm not too sure about embedding spellcheck into it, but this article may be of interest:

SpellCheck.net拼写检查使用C#解析