如何将Xml编辑器嵌入到我们的编辑器中 [英] How to embed Xml Editor to our editor
问题描述
我需要解决我的问题.
我们实现了VSIP软件包,并且运行良好.我们已经注册了扩展名mdx(模块设计时xml),并且在打开它时(从解决方案资源管理器中)我的TabControl编辑器已打开.设计器部分工作正常,但我希望能够将标准Xml编辑器嵌入第二个选项卡.因此,它看起来像一个ASPX编辑器.一个选项卡用于编辑源文本,另一个选项卡用于设计源文本.我上网冲浪,但仍然找不到支持两个逻辑视图的解决方案,而且还嵌入了编辑器.
有人可以阐明这个问题吗?
请注意,
Kate
Visual Studio 2008(专业版)
Hi, I need help with my problem.
We got our VSIP Package implemented and it works fine. We've our extension mdx (module design-time xml) registered and when it's opened (from Solution Explorer) my TabControl editor is opened. The designer part is working ok but I want to be able to embed a standard Xml Editor to a second tab. So it will look like a ASPX editor of sorts. One tab to edit source text and the other to design it. I surfed the web and still didn't find any solution supporting two logical views and moreover with editor embedded.
Can someone shed a light on this problem ?
regards,
Kate
Visual Studio 2008 (Professional)
推荐答案
在示例中查看Microsoft Visual Studio 2008 SDK \ VisualStudioIntegration \ Samples \ IDE \ CSharp \ Example.SvgViewer完全达到了您想要的.
谢谢.
Check out Microsoft Visual Studio 2008 SDK\VisualStudioIntegration\Samples\IDE\CSharp\Example.SvgViewer in your example which has achieved what exactly you want.
Thanks.
这篇关于如何将Xml编辑器嵌入到我们的编辑器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!