Delphi,从 [Uni]SynEdit 切换到 SyntaxMemo SDK
我们即将从 SynEdit(Unicode 版本)切换到 SyntaxMemo SDK,但是在做出最终决定之前,我们需要估计切换的实际成本。我们一直在为 SynEdit 使用自定义语法荧光笔来满足我们的需求。现在需要重写它,以便与 SyntaxMemo SDK 一起使用。
我们已经联系了 SyntaxMemo SDK 的一位作者,但他承认他不太了解 SynEdit,因此他可能不会回答这个问题 - 是否可以创建类似于 SynEdit 荧光笔的 SyntaxMemo 词法分析器或者我们必须重新设计它并从头开始编写?
周围有人经历过这种“转变”吗?
we're about to switch from SynEdit (Unicode version) to SyntaxMemo SDK, however prior to the final decision we need to estimate the real cost of the switch. We've been using custom syntax highlighter for SynEdit built to suit our needs. Now it'll be neccessary to rewrite it, in order to work with SyntaxMemo SDK.
We have already been in contact with an author of SyntaxMemo SDK, however he admitted he doesn't know SynEdit well, thus he might not answer the question - Is it possible to create SyntaxMemo lexer similar to SynEdit highlighter or do we have to redesign it and write from scratch?
Is there anybody around who had ever dealed with this kind of "conversion"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议改用 Scintilla。我将一款使用 SynEdit 的应用程序转换为使用 Scintilla。在 Scintilla 中创建词法分析器很容易,但 Scintilla 的工作方式与 SynEdit 不同。我推荐 Scintilla,因为它正在积极开发并被许多项目使用。值得一看。
我知道我没有回答您的问题,但我认为我从 SynEdit 转换的经验可能会有所帮助。
I suggest using Scintilla instead. I converted one app that used SynEdit to use Scintilla. It is easy to create a lexer in Scintilla but Scintilla works in different way when compared to SynEdit. I recommend Scintilla since is being actively developed and is used by many projects. Worth taking a look at it.
I know I am not answering your question but I think my experience converting from SynEdit might be helpful.