Implementing custom TextMarker on C#

Are any examples of custom TextMarker implementation on C# exists I went through steps described in the MSDN topic, but the resulting code doesn't create anything. The ProfferService method returns s_ok. GetRegisteredMarkerTypeID also returns non-zero id, but when i calling CreateLineMarker or GetMarkerTypeInterface nothing happens. None of methods for both IVsTextMarkerTypeProvider and IVsPackageDefinedTextMarkerType implementations are called. The GetMarkerTypeInterface returns null. What and where i miss

Thanks
Stan


Answer this question

Implementing custom TextMarker on C#

  • Part Time Australian

    The problem is solved. I was made wrong registration and initialization of service.


  • Implementing custom TextMarker on C#