I am unable to locate a reference from the SDL SDK that helps me understand how to apply formatting on the (TranslationUnit) text that I send to the Concordance (and/or Lookup) result windows; can you please advise how to do this with an example?
I am assuming that I need to encapsulate the text/words that I want highlighted with a tag reference; after a day of routing around with this, I am not able to understand what tag reference is to be used to accomplish this from the TranslationUnit / SegmentElements. I have completed development of returning TranslationUnits to the Concordance (and Lookup) result windows in Studio, but I would also like to format the individual words, as seen from the attached snapshot
Example:
If I do a concordance search for the word “Location”, then I would like to format the word “Location” with a yellow background in TranslationUnit Source that is returned to the Concordance result window. Make reference to the attached snapshot.
Note: I am using the example “Translation Memory Provider example” that is provided with the SDK 2.0 to try understand this. From this example provided by SDL, the results are returned in a TranslationUnit; I am assuming that it is possible to apply the font formatting on the SegmentElements in the TranslationUnit.SourceSegment, so that highlights/formats the words accordingly that are returned in the Concordance (and/or Lookup) result windows in Studio.
Thank you for your support,
Patrick.