Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试创建一个支持 Windows 语音的编辑器,现在试图弄清楚我是否应该使用 ScintillaNet 或原始 Scintilla 作为我的基础。如果有人能告诉我它们之间是否有任何重大差异以及它们是什么,将不胜感激。谢谢。
考虑“原始 Scintilla”没有多大意义,它是用 C 编写的。你不能在 C# 项目中直接使用用 C 编写的代码,你必须使用 pinvoke。因此,您最终将编写一组隐藏丑陋的 pinvoke 代码的 C# 类。并重新发明 ScintillaNET。
如果您需要调整 ScintillaNET 包装器,那么可以使用源代码。只是不要从头开始,C接口并不漂亮。