I'm building a custom terminology provider. I've got it to the state where I can search terms and show the search result's details in the Termbase Viewer panel.
But I'm unable to have terms in the source segment recognised as being present in the termbase.
For example, in my test project I have a source document containing only the text 'Hallo Welt'. Attached to this project is a file-based MultiTerm termbase with only the following entry:
Once the file is opened in Trados Studio the text in the source segment is recognised:
As can be seen, the text in the source segment is recognised (red line above the text) and the termbase entry is shown in the Term Recognition panel.
If I now remove that MultiTerm termbase from the project and hook up my own termbase in its place (via the custom terminology provider), I can show that 'Hello world'/'Hallo Welt' is in this termbase because I can search for it and receive the result...
The above screenshot also has the Termbase Viewer panel open to show that the result is from my terminology provider - the search result is also visible in the Termbase Search panel. But as can be seen, there's no red line in the source segment.
Here's almost the same screenshot, this time with an empty Term Recognition panel:
I know that the source segment is being searched for because it hits the expected breakpoint in my code. I also know that the search result is being returned from that method.
I've also tried the ExcelTerminology example plugin and it does exactly the same as mine - it only displays search results and doesn't indicate any hits in the source segments or the Term Recognition panel.
Can anyone explain why that search result is not shown in either the Term Recognition panel or with the addition of a red line above the source text?