I'd like to create an editor to a custom view engine, which hosts C# code around some barriers (let's say <source></source>). In VS2008 this was done by the TextBufferCoordinator, secondary buffers and contained languages. First I tried to convert the
project to VS2010 without luck, so I went to see the new Editor APIs. It seems one has to create a IProjectionBuffer, and use spans to link between the codes. But how can you tell the editor to use a ProjectionBuffer? What is the easiest way to convert code
that was written using the old ContainedLanguages based API to the new Projection based Editor API?
↧