How to retrieve context information for a TranslationUnit?

I'm implementing a Translation Memory Provider using SDK 2.1. I want to provide context matching as well as full and fuzzy matching.

I tried to retrieve the context using translationUnit.Contexts while implementing ITranslationProviderLanguageDirection.SearchTranslationUnit but translationUnit.Contexts.Length returns 0.

How can I obtain, or calculate the context information for a given TranslationUnit?

Regards,

Bartosz

Parents Reply Children
No Data