跨平台“代码编辑”;控制(带有语法突出显示等)
目前,我已经找到了Scintilla。它有一个 Cocoa 端口,但我不确定它有多稳定。而且我认为它很臃肿。任何带有语法突出显示(以及可能的“代码折叠”)的简单的跨平台编辑控件?
注意:不需要 GUI。只要‘胆量’就够了。
更新:我实际上有点错误。我混淆了'Rich Edit' 控件与'Code Editing' 控件。 Scintilla 是一个“代码编辑”控件,这正是我感兴趣的。一个兼具两全其美的控件将是锦上添花。
Currently, I have found Scintilla. It has a Cocoa port, but I am not sure how stable it is. And I think it is bloated. Any simple, cross-platform edit control with syntax highlighting (and possibly 'code folding')?
Note: No need for a GUI. Just the 'guts' are fine.
Update: I was actually mistaken somewhat. I was confusing 'Rich Edit' control with 'Code Editing' control. Scintilla is a 'Code Editing' control, and that is what I am interested in. A control that has the best of both worlds would be icing on the cake.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从你提到的 Cocoa 来看,我怀疑你想为 iOS 开发。
如果是这种情况,也许这个问题可以帮助您适用于 iOS 的富文本编辑器库
编辑: http://cocoadev.com/index.pl?TextEditors 在那里你可以找到很多可可文本编辑器(也用于代码,例如 BBEdit 或 TextWrangler
From your mention of Cocoa I suspect you want to develop for iOS.
If this is the case maybe this question can help you Rich text editor library for iOS
Edit: http://cocoadev.com/index.pl?TextEditors there you find a lot of cocoa TextEditors (also for code, e.g. BBEdit or TextWrangler