在 Sharpdevelop 3.x 中使用 AvalonEdit
我很好奇是否可以在 Sharpdevelop 3.x 中用 AvalonEdit 替换普通的 ICSharpCode.TextEditor。坦率地说,AvalonEdit 比 ICSharpCode.TextEditor 好太多了,所以在 Sharpdevelop 3.x 中使用 AvalonEdit 会更好。
我目前无法使用 Sharpdevelop 4,如果我可以在旧的 Sharpdevelop 3.x 中使用新的代码编辑器,那就更好了。
谁能解释一下吗?
提前致谢。
I am very curious to know if it is possible to replace the normal ICSharpCode.TextEditor with AvalonEdit in Sharpdevelop 3.x. Frankly speaking AvalonEdit is way too better than ICSharpCode.TextEditor, so it would be better to use AvalonEdit in Sharpdevelop 3.x.
I am currently not in a position to use Sharpdevelop 4, it would be better if I can use that new code editor in old Sharpdevelop 3.x.
Can anyone please shed some light on it?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SharpDevelop 3.x 的大部分内容都经过硬编码以使用 ICSharpCode.TextEditor。您可以使用 AddIn 来替换文本编辑器(请参阅示例/DisplayBinding/AlternateEditor),但您会失去以下所有功能:
所有这些功能都被重写以使用SharpDevelop 4 中的新文本编辑器界面。这花了我们几个月的开发时间。
所以不,在 SD 3.x 中使用 AvalonEdit 是不可能的,除非您有大量时间来向后移植这些更改。
顺便问一下:为什么不能使用SharpDevelop 4.0?
Most of SharpDevelop 3.x is hard-coded to use ICSharpCode.TextEditor. You can use an AddIn to replace the text editor (see samples/DisplayBinding/AlternateEditor), but you lose all of the following features:
All of those features were rewritten to use the new text editor interfaces in SharpDevelop 4. This took us several months of development time.
So no, using AvalonEdit in SD 3.x is not possible unless you have a lot of time to spend backporting these changes.
By the way: why can't you use SharpDevelop 4.0?